About 7,240,000 results
Open links in new tab
  1. How can I restore Cmd.exe (Command Prompt) if it doesn't exist?

    Mar 22, 2021 · cmd.exe is not in the directory C:\Windows\System32. I think that I accidentally deleted it while messing with the environment variables, I don't know. It's not launching from PowerShell, and I also tried Run (Win + R), but it still doesn't work. I think reinstalling Windows is an option, but I don't know what can happen. I'm using Windows 10.

  2. windows - cmd.exe /k switch - Stack Overflow

    I am trying to switch to a directory using cmd and then execute a batch file: cmd /k cd "C:\myfolder" startbatch.bat I have also tried (without success) cmd cd /k cd "C:\myfolder" | startbatch.bat Although the first line (cmd /k) seems to run okay, but the second command is never run. I am using Vista as the OS.

  3. How does the Windows Command Interpreter (CMD.EXE) parse …

    Nov 4, 2010 · If command is internal to cmd.exe, or it is a batch file, or if it is a parenthesized command block, then it is executed in a new cmd.exe thread via %comspec% /S /D /c" commandBlock", so the command block gets a phase restart, …

  4. cmd.exe - Windows Command to get all information/properties of …

    Apr 5, 2015 · Unfortunately, cmd does not have a direct way to access the Shell object, you will have to piggyback on some other scripting language to access the Shell object. Running the following command from a cmd prompt window will display the duration of the video file in 100ns units (not milliseconds).

  5. cmd - How do you run a command as an administrator from the …

    May 10, 2011 · I'm trying to run the script with elevated, administrative privileges from within the Windows shell (cmd.exe)--just as if I'd right-clicked it and chosen Run as Administrator, but without using any method that requires use of the graphical interface.

  6. C:\WINDOWS\system32\cmd.EXE keeps popping up while I’m …

    Apr 1, 2023 · Hit Enter. Look for cmd related entries then delete it 3. Right click taskbar then select Task Manager Under Start-up tab, Find cmd related entries in the list If Status Enable, Right click then Disable 4. Perform a Clean Boot Determine if a background program or a software conflict triggers command prompt to open at startup.

  7. Create Windows service from executable - Stack Overflow

    Aug 27, 2010 · To create a Windows Service from an executable, you can use sc.exe: sc.exe create <new_service_name> binPath= "<path_to_the_service_executable>" You must have quotation marks around the actual exe path, and a space after the binPath=. More information on the sc command can be found in Microsoft KB251192.

  8. command line - What does cmd /C mean? - Stack Overflow

    I can understand cmd but not cmd /c. I was trying to invoke a java program from the current for which I use Runtime.getRuntime().exec("cmd /C java helloworld"); There arises my doubt.

  9. How can I convert a Windows batch script to a .exe?

    Jan 23, 2015 · cmd.exe /c <path to batchfile> would run the batch file, and give you a valid executable to name for the keyboard software. No conversion needed means you can always easily make changes to your bat without additional steps required.

  10. what's the difference between command prompt and cmd?

    Dec 3, 2015 · Command Prompt is simply a shortcut to cmd.exe named "Command Prompt": The styling is just a result of the shortcut having its own properties. You could also have other shortcuts to cmd.exe and each of those could have their own style options as well. As for the window title, cmd just sets the window title to the file name that launched cmd.

Refresh