About 50 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. Logical operators ("and", "or") in Windows batch - Stack Overflow

    Feb 1, 2025 · How would you implement logical operators in Windows batch files?

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

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

  6. Windows batch files: .bat vs .cmd? - Stack Overflow

    Sep 29, 2008 · The same batch file, launched from the shortcut, runs in CMD.EXE. When you think about it, this makes sense. The reason that it took us so long to figure it out was partially …

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

  8. What is the difference between % and %% in a cmd file?

    Jan 24, 2013 · In addition to %G in a for loop, %1 is also allowed. %% is needed in a script to avoid ambiguities. "When working at the command line (not in a batch script) there is no …

  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. What does %~d0 mean in a Windows batch file? - Stack Overflow

    The magic variables % n contains the arguments used to invoke the file: %0 is the path to the bat-file itself, %1 is the first argument after, %2 is the second and so on. Since the arguments are …