About 1,720,000 results
Open links in new tab
  1. Batch File Help - Computer Hope

    Jun 1, 2025 · Batch files help with full list of questions and answers and FAQs that help answer how to make, run, and edit batch files in DOS and Windows command line.

  2. How does && work within a batch/cmd script? - Super User

    Dec 21, 2021 · How does && work in a Batch File? && will execute the next command when the previous command returns 0 || will execute the next command when the previous command returns …

  3. What is the meaning of tilde ~ in batch variables? - Super User

    Jul 16, 2020 · In this context, it is used to perform substring modification of a variable using an offset from the first character in the variables content, as explained in the help output of Set /?.

  4. How do I make a batch file wait / sleep for some seconds?

    May 3, 2017 · 90 I use a batch file to start up a few of the programs I need running in the background. Up until now, I had used the pause command to execute it after some of the other start-ups finished. …

  5. Run Powershell with parameters from batch file - Super User

    Mar 2, 2021 · Here's a batch script with arguments that are set as variables, and those variables passed to a PowerShell script and executed. You can execute a PowerShell script with batch this way.

  6. windows - How can I delete all files/subfolders in a given folder via ...

    Apr 27, 2015 · I would like to delete all files and subfolders using a batch file in Windows 7 and keep the top folder. Basically emptying the folder.

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

    Jul 29, 2021 · If the question asks for a script to be "executed" and the entire batch file be output to a log file in Windows 8.1, then here is the simple answer: Include this at the start of your batch file...

  8. batch script - was unexpected at this time - Super User

    Nov 27, 2022 · batch script - was unexpected at this time In a batch file you need to use %%a not %a. FOR command variables which use a single leading % on the command line or a double leading %% …

  9. How to prevent the command prompt from closing after execution?

    Now change the "Default key value" to cmd.exe /k "%1" %*. Now, every batch script window will stay open after its execution. Note that this is like using cmd.exe /c cmd.exe /k program.bat, meaning that …

  10. How to run a batch file without launching a "command window"?

    Hidden Start (or Hstart) is a lightweight command line utility that allows you to run console applications and batch files without any window in the background, handle UAC privilege elevation under …