About 12,000,000 results
Open links in new tab
  1. windows - What does %* mean in a batch file? - Stack Overflow

    Apr 22, 2013 · I have seen the usage of %* in batch files and command lines. Can someone explain the typical usage of %* with an example?

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

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

  4. cmd - What does "&&" do in this batch file? - Stack Overflow

    I ran it from the command line. Would it do something different from within a batch file? Where it comes from? a clarification about one ampersand & "Use to separate multiple commands on …

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

    Jan 13, 2014 · This is a (possibly common) pattern for Windows exe command-line options. armclang.exe supports this command-line option @<file> Read command-line options from …

  6. command line - String replacement in batch file - Stack Overflow

    We can replace strings in a batch file using the following command set str="jump over the chair" set str=%str:chair=table% These lines work fine and change the string "jump over the chair" to …

  7. Which comment style should I use in batch files? - Stack Overflow

    Sep 13, 2012 · I've been writing some batch files, and I ran into this user guide, which has been quite informative. One thing it showed me was that lines can be commented not just with REM, …

  8. How to do something to each file in a directory with a batch script

    Apr 18, 2016 · How do you iterate over each file in a directory with a .bat or .cmd file? For simplicity please provide an answer that just echoes the filename or file path.

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

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