About 286,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. 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 …

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

    Jul 9, 2009 · 1477 Use: call msbuild.bat call unit-tests.bat call deploy.bat When not using CALL, the current batch file stops and the called batch file starts executing. It's a peculiar behavior …

  4. Using parameters in batch files at Windows command line

    In Windows, how do you access arguments passed when a batch file is run? For example, let's say I have a program named hello.bat. When I enter hello -a at a Windows command line, how …

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

    Mar 8, 2013 · 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. Can´t run .bat file under windows 10 - Stack Overflow

    Aug 29, 2016 · I have few .bat files that I used under Windows XP. Now I want to use them under Windows 10, but when I run one of the files (even as administrator) it shows the command …

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

    Mar 23, 2017 · It creates a VBScript file with code that elevates you to admin (if you're not already), and runs the bat file again, this time as admin.

  8. Is there a way to pass parameters "by name" (and not by order) to …

    I need to be able to pass parameters to a windows batch file BY NAME (and NOT by order). My purpose here is to give end user the flexibility to pass parameters in any order, and the batch …

  9. Why does "cd" on Windows Command Line not change drives?

    4. Change directory and CALL batch file with one command line This command line changes the directory and on success calls the batch file. cd /D "F:\- Big Packets -\kitterengine\Common" …

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

    Jun 3, 2020 · 3 If I understand you correctly doing this in side your bat file will open Command prompt and print your message to screen. cmd.exe hello world hope this helps.