About 22,800,000 results
Open links in new tab
  1. Open a folder with File explorer using .bat - Stack Overflow

    Open a folder with File explorer using .bat Asked 12 years ago Modified 3 years, 10 months ago Viewed 190k times

  2. How does the echo command works in batch programming

    Jun 16, 2017 · You can find out the purpose and usage of any batch command by typing the command and following it with /? - in this case, you'd type echo /?

  3. 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 do I let my

  4. What is the at sign (@) in a batch file and what does it do?

    Jan 13, 2014 · Apparently this is obvious for everyone but I didn't know that this only works when executed from a .bat file, i.e. it doesn't work straight from the command line.

  5. windows - How can I debug a .BAT script? - Stack Overflow

    May 29, 2017 · Is there a way to step through a .bat script? The thing is, I have a build script , which calls a lot of other scripts, and I would like to see what is the order in which they are called, so that I...

  6. IF, CALL, EXIT and %ERRORLEVEL% in a .bat - Stack Overflow

    Jul 21, 2014 · IF, CALL, EXIT and %ERRORLEVEL% in a .bat Asked 11 years, 4 months ago Modified 11 years, 4 months ago Viewed 23k times

  7. How to sleep for five seconds in a batch file/cmd [duplicate]

    -2 On newer Windows OS versions you can use the command sleep /w2000 in a DOS script (.cmd or .bat) to wait for 2s (2000 ms - substitute the time in ms you need). Be careful to include the /w …

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

    Mar 23, 2017 · 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) which …

  9. Split long commands in multiple lines through Windows batch file

    Sep 3, 2021 · How can I split long commands over multiple lines in a batch file?

  10. How can I pass arguments to a batch file? - Stack Overflow

    I need to pass an ID and a password to a batch file at the time of running rather than hardcoding them into the file. Here's what the command line looks like: test.cmd admin P@55w0rd > test-lo...