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.
相关问题
- Does specifying the encoding in javac yield the sa
- softlinks atime and mtime modification
- String Manipulation with case sensitivity
- Get unexpanded argument from bash command line
- Include and Execute EXE in C# Command Line App
相关文章
- 在vscode如何用code runner打开独立的控制台窗口,以及设置好调试模式时窗口的编码?
- Compile and build with single command line Java (L
- How to update command line output?
- How to execute another python script from your scr
- Command line escaping single quote for PowerShell
- Python file keyword argument?
- Interactively merge files tracked with git and unt
- Set variable in “if” block
The part you should be interested in is the
/?
part, which should solve most other questions you have with the tool.From the help.
/C
Carries out the command specified by the string and then terminates.You can get all the cmd command line switches by typing
cmd /?
.