About 577,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 run, even …

  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" | startbatch.bat Although …

  4. cmd - How can I update the PATH variable permanently from the …

    This does not become a Java question simply because OP wanted to execute the command from within a Java application. It's purely OS-level functionality; and "how do I execute a DOS command from …

  5. cmd - Logical operators ("and", "or") in Windows batch - Stack Overflow

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

  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 seem to be …

  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. Run as Administrator in Windows 10 | Tutorials - Ten Forums

    Oct 18, 2021 · How to Run an App as Administrator in Windows 10 Information Some legitimate applications require a full administrator access token (elev

  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. 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 command and then …