About 284,000 results
Open links in new tab
  1. BAT file to open CMD in current directory - Stack Overflow

    Dec 15, 2010 · This is tedious (they are in a rather deep file system, so typing out the full path is a pain, copy+paste is better but not much). I tried to create a .BAT file that I could double-click …

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

    Jul 31, 2013 · I have a bat file like this: ipconfig That will print out the IP info to the screen, but before the user can read that info CMD closes itself. I believe that CMD assumes the script …

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

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

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

  6. How to automatically close cmd window after batch file execution?

    Feb 5, 2013 · This batch file is used to run the Xming application and then the PuTTY app so I can SSH into my university's computer lab. However, if I run this and Xming is not already …

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

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

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

  10. How to generate a log file of the windows prompt when I run a …

    Jun 1, 2023 · I'm running a bat file in windows. I'm trying to generate a log file of all the output that appears in the command prompt, to have as a document. Note, Not a log file of the contents of …