About 582,000 results
Open links in new tab
  1. 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.

  2. Windows batch files: .bat vs .cmd? - Stack Overflow

    Sep 29, 2008 · If both .bat and .cmd versions of a script (test.bat, test.cmd) are in the same folder and you run the script without the extension (test), by default the .bat version of the script will …

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

    45 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" | …

  4. cmd - Logical operators ("and", "or") in Windows batch - Stack …

    Jan 26, 2010 · How would you implement logical operators in Windows batch files?

  5. windows - What is `cmd /s` for? - Stack Overflow

    Mar 26, 2012 · The Windows command prompt (cmd.exe) has an optional /s parameter, which modifies the behavior of /c (run a particular command and then exit) or /k (run a particular …

  6. How to open an elevated cmd using command line for Windows?

    Sep 30, 2013 · How do I open a elevated command prompt using command lines on a normal cmd? For example, I use runas /username:admin cmd but the cmd that was opened does not …

  7. How do I run two commands in one line in Windows CMD?

    I want to run two commands in a Windows CMD console. In Linux I would do it like this touch thisfile ; ls -lstrh How is it done on Windows?

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

    Dec 3, 2015 · When I type cmd into the start menu of Windows 10, a Window titled "cmd" appears, but it recalls the blue background and green text from the Command Prompt window, …

  9. How can I open a cmd window in a specific location?

    Sep 14, 2008 · How can I open a cmd window in a specific location without having to navigate all the way to the directory I want?

  10. Open Elevated Command Prompt in Windows 10 | Tutorials

    Jun 14, 2020 · How to Open an Elevated Command Prompt in Windows 10 A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing …