About 2,450,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 …

  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 …

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

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

  8. windows - Which comment style should I use in batch files

    Sep 13, 2012 · 41 Analysis of commenting techniques in Windows batch files This answer attempts a pragmatic summary of the many great answers on this page. jeb's great answer …

  9. Redirecting Output from within Batch file - Stack Overflow

    Jan 29, 2019 · The batch file contains commands to get the time, IP information, users, etc. I assembled all the commands in a batch file, and it runs, but I would like the batch file, when …

  10. How can I check the size of a file in a Windows batch script?

    Jul 29, 2009 · Though Windows explorer allows searching "size:>4GB", I prefer having a text-output of results. Indeed, Windows 10 still has the INT32 CLI and BATCH limit 2^31.