About 1,210,000 results
Open links in new tab
  1. 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 …

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

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

    Sep 13, 2012 · By the way, for large hunks of comments, like in the header of your batch file, you can avoid special commands and characters completely by simply goto ing over your …

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

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

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

  8. batch file - How to echo with different colors in the Windows …

    The reason is that a file is created in the current directory with the name of the text to output with specified colors which is deleted after the text is output. See the Microsoft documentation …

  9. Several ways to call a windows batch file from another one or from ...

    The batch file will be executed by the current cmd.exe instance (or a new cmd.exe instance if, for instance, double-clicked in Explorer). Same as #1, only has an effect when used inside a …

  10. cmd - Error: "is not recognized as an internal or external command ...

    Whenever I try and run mycommand.exe from my Windows cmd.exe terminal, I get this error: ''mycommand.exe' is not recognized as an internal or external command, operable program or …