About 1,050,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. 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 batch/cmd …

  3. Batch file to delete files older than N days - Stack Overflow

    Sep 9, 2008 · For even more information about date and time formats and file time comparisons on Windows see my answer on Find out if file is older than 4 hours in batch file with lots of additional …

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

  6. Using parameters in batch files at Windows command line

    220 In Windows, how do you access arguments passed when a batch file is run? For example, let's say I have a program named hello.bat. When I enter hello -a at a Windows command line, how do I let my …

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

    Sep 29, 2008 · Windows NT inherited cmd from OS/2, but Windows NT's Win32 version started off 32-bit. Although OS/2 went 32-bit in 1992, its cmd remained a 16-bit OS/2 1.x program. The ComSpec …

  8. 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; test-lo...

  9. How can I echo a newline in a batch file? - Stack Overflow

    Sep 25, 2008 · If there is indeed a file with name echo in current directory, this file is executed instead of the output of an empty line. An empty line is output if no file with name echo is found in the current …

  10. Open a Web Page in a Windows Batch FIle - Stack Overflow

    I have a batch file that does a bunch of things and at the end needs to open up a web browser to a page. Is there a way to, in essence, call ShellExecute on a http to open the web page? Windows Co...