About 9,530,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 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. 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 …

  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 …

  5. 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 &gt; …

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

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

  8. batch file - What does %~dp0 mean, and how does it work

    Feb 18, 2011 · The variable %0 in a batch script is set to the name of the executing batch file. The ~dp special syntax between the % and the 0 basically says to expand the variable %0 to show …

  9. How to set command's output as a variable in a batch file

    Jun 15, 2011 · None of the answers seems to work for me. My command is "openssl dgst -sha384 -binary %1% | openssl base64 -A" and I wish the string output to be stored in a variable in a …

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