About 54,400 results
Open links in new tab
  1. How to run a command on command prompt startup in Windows

    E.g. cmd /K cls will open a command prompt for me and clear it. (Answer for question 1) and cmd /K MyBatchFile.bat will start a command prompt, execute the batch file and stay on the …

  2. How do I execute cmd commands through a batch file?

    16 start cmd /k "your cmd command1" start cmd /k "your cmd command2" It works in Windows server2012 while I use these command in one batch file.

  3. How to execute a command prompt command from python

    Mar 30, 2011 · 2 Why do you want to call cmd.exe ? cmd.exe is a command line (shell). If you want to change directory, use os.chdir("C:\\"). Try not to call external commands if Python can …

  4. Run a Command Prompt command from Desktop Shortcut

    Mar 16, 2012 · Is it possible to create a desktop shortcut that, when pressed, will open command prompt and run a pre-defined command?

  5. 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?

  6. Running CMD command in PowerShell - Stack Overflow

    23 One solution would be to pipe your command from PowerShell to CMD. Running the following command will pipe the notepad.exe command over to CMD, which will then open the Notepad …

  7. How do I use spaces in the Command Prompt? - Stack Overflow

    Oct 27, 2017 · I just figured out that for a case where the path involves the use of white space characters, for example, when I need to access the app xyz which location is : C:\Program …

  8. BAT file: Open new cmd window and execute a command in there

    Jun 3, 2020 · 166 Use the following in your batch file: start cmd.exe /c "more-batch-commands-here" or start cmd.exe /k "more-batch-commands-here" /c run command then close the …

  9. How to run Command Prompt commands from C# - Stack Overflow

    Is there any way to run command prompt commands from within a C# application? If so how would I do the following: copy /b Image1.jpg + Archive.rar Image2.jpg This basically embeds …

  10. cmd - How to install any software on windows os using command …

    Jun 3, 2020 · What I am expecting is Linux like installation i.e., with commands only. I don't want any GUI to appear on screen except a command prompt window. I've to install software …