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

  2. cmd - Why does "cd" on Windows Command Line not change …

    Run in a command prompt window call /? for getting displayed the help of this command used also in 2., 4. and 5. solution and explaining also %~dp0 ... drive and path of argument 0 which …

  3. How to run multiple .BAT files within a .BAT file - Stack Overflow

    Jul 9, 2009 · Obviously in later versions no other cmd shell was necessary anymore. In the early days many batch files depended on the fact that calling a batch file would not return to the …

  4. Run a batch file with Windows task scheduler - Stack Overflow

    This method worked for me. But, in the scheduler, in the history tab, the task completes immediately with success, since the task is the cmd, but not the .bat file that it launches. Since …

  5. Bat file to run a .exe at the command prompt - Stack Overflow

    Oct 21, 2008 · A bat file has no structure...it is how you would type it on the command line. So just open your favourite editor..copy the line of code you want to run..and save the file as …

  6. How do I run a batch script from within a batch script?

    Jan 25, 2011 · How do I call another batch script from within a batch script? I want it to execute in an if statement.

  7. How to code a BAT file to always run as admin mode?

    Mar 23, 2017 · This does not work for me on either Windows 10 or Windows 7. When I try to run as Administrator, either by right clicking the BAT file and "Run as Administrator", or using the …

  8. How do I minimize the command prompt from my bat file

    May 11, 2017 · Use the start command, with the /min switch to run minimized. For example: start /min C:\Ruby192\bin\setrbvars.bat Since you've specified a batch file as the argument, the …

  9. Keep CMD open after BAT file executes - Stack Overflow

    Jul 31, 2013 · 256 Depending on how you are running the command, you can put /k after cmd to keep the window open. cmd /k my_script.bat Simply adding cmd /k to the end of your batch file …

  10. How to run a PowerShell script from a batch file - Stack Overflow

    Invoke-WebRequest is working fine when I type the command line in a cmd window, but returns a 404 whenever I run it from within a batch file.