About 49,600 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. 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?

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

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

  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. 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 …

  8. How do I change the command-line prompt in Windows?

    Oct 21, 2019 · How do I change the command-line prompt into a console? I've been looking in the console functions API, but I could not find anything for it.

  9. 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 …

  10. 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 …