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

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

  2. Using parameters in batch files at Windows command line

    Using parameters in batch files: %0 and %9 Batch files can refer to the words passed in as parameters with the tokens: %0 to %9. %0 is the program name as it was called. %1 is the first command line …

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

    75 I received a line of code from someone who answered one of my questions, but I am confused: what do the "&&" do in this batch file.

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

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

  6. 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 &quot;if - else&quot; blocks safely so these parts of my programme doesn't work. …

  7. Defining and using a variable in batch file - Stack Overflow

    this seems to be same as setting the environment-variable in windows. Is this the only way of using local-variables in batch scripts?

  8. 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, but also …

  9. IF... OR IF... in a windows batch file - Stack Overflow

    Addendum - This is a duplicate question with nearly identical answers to Using an OR in an IF statement WinXP Batch Script Final addendum - I almost forgot my favorite technique to test if a variable is any …

  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 open, once I exit …