About 5,420,000 results
Open links in new tab
  1. Logical operators ("and", "or") in Windows batch - Stack Overflow

    Jan 26, 2010 · How would you implement logical operators in Windows batch files?

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

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

    Jul 25, 2011 · The answers provided by both Kerrek SB and Ed Greaves will execute the target file under the admin user but, if the file is a Command script (.bat file) or VB script (.vbs file) …

  4. How to use if - else structure in a batch file? - Stack Overflow

    Jun 18, 2012 · I have a question about if - else structure in a batch file. Each command runs individually, but I couldn't use "if - else" blocks safely so these parts of my …

  5. Open a folder with File explorer using .bat - Stack Overflow

    Nov 25, 2013 · Open a folder with File explorer using .bat Asked 11 years, 7 months ago Modified 3 years, 5 months ago Viewed 187k times

  6. How do I shutdown, restart, or log off Windows via a bat file?

    Oct 30, 2018 · How do I shutdown, restart, or log off Windows via a bat file? Asked 16 years, 9 months ago Modified 7 months ago Viewed 2.6m times

  7. Create folder with batch but only if it doesn't already exist

    Nov 12, 2010 · 613 Can anybody tell me how to do the following in in a Windows batch script? (*.bat): Create a folder only if it doesn't already exist In more detail, I want to create a folder …

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

    I was trying to run a couple of batch files parallely at startup, if a condition was true. For this I made a parent batch file which should have checked for the condition and invoke the other …

  9. How can I use a batch file to write to a text file? - Stack Overflow

    Oct 18, 2014 · I need to make a script that can write one line of text to a text file in the same directory as the batch file.

  10. How to "comment-out" (add comment) in a batch/cmd?

    I have a batch file that runs several python scripts that do table modifications. I want to have users comment out the 1-2 python scripts that they don't want to run, rather than removing them fr...

Refresh