About 1,710,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. How to delete files from a folder using a list of file names in windows ...

    Jan 20, 2018 · Simple way is copy the txt file to a file called mydel.bat in the directory of the files to delete. Using an editor like Microsoft Word edit this file. Do a global replace on Newline normally ^p …

  6. How to read a string from a text file and use in a Windows batch file ...

    Aug 19, 2020 · We want to extract it using a Windows batch script file (not powershell) and FOR loop to get this output: AAAAAA BBBBBB CCCCCC So far we have gotten to this point. For illustration, i …

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

  8. How do I create a Windows Batch file that does not show the …

    44 You can't -- executing a batch file with the built in Command Prompt is going to keep a window open until the batch file exits. What you can do is take steps to make sure that the batch file exits as …

  9. How to run batch file command with elevated permissions?

    Aug 13, 2016 · If the original batch file is already running as admin, or if UAC prompts are off, the new file will be elevated without a prompt. Note that the elevated batch processor's current directory will …

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