About 1,050,000 results
Open links in new tab
  1. IF... OR IF... in a windows batch file - Stack Overflow

    windows batch-file if-statement cmd conditional-statements edited Mar 21, 2019 at 12:24 aschipfl 35.3k 12 62 106

  2. windows - Log an entire batch file output - Super User

    Jul 29, 2021 · I'm using a command line script to adjust multiple settings on a computer. However, I would like to have the entire output to also be logged into a .txt or .log file. When I use my basic …

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

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

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

  6. batch file - How do I run two commands in one line in Windows CMD ...

    I want to run two commands in a Windows CMD console. In Linux I would do it like this touch thisfile ; ls -lstrh How is it done on Windows?

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

  8. windows - Batch character escaping - Stack Overflow

    Windows (and DOS) batch file character escaping is complicated: Much like the universe, if anyone ever does fully come to understand Batch then the language will instantly be replaced by an infinitely …

  9. batch file - How can you zip or unzip from the script using ONLY ...

    In Windows you can zip some files by right click → Send to → Compressed (zipped) folder And unzip by double clicking on the .zip file and extract the files. Is there a way to apply th...

  10. windows - Checking if a folder exists using a .bat file - Stack Overflow

    Windows batch is a programming language, check if the file exists is a programming task. Appears on topic.