Top "Batch-file" questions

A batch file is a text file containing a series of commands that are executed by the command interpreter on MS-DOS, IBM OS/2, or Microsoft Windows systems.

How to create empty text file from a batch file?

Can somebody remember what was the command to create an empty file in MSDOS using BAT file?

batch-file cmd dos
How to set commands output as a variable in a batch file

Is it possible to set a statement's output of a batch file to a variable, for example: findstr testing > %…

windows batch-file
Run a batch file with Windows task scheduler

I have a batch file daily.bat, this is the code: cd C:\inetpub\wwwroot\infoweb\factuur\cron c:\PHP\…

windows-7 batch-file scheduled-tasks
Windows shell command to get the full path to the current directory?

Is there a Windows command line command that I can use to get the full path to the current working …

windows batch-file command-line cmd
How do you loop through each line in a text file using a windows batch file?

I would like to know how to loop through each line in a text file using a Windows batch file …

windows batch-file
BAT file: Open new cmd window and execute a command in there

I'm trying to open a new command window in a BAT file: start %windir%\system32\cmd.exe After it opens, …

batch-file command-line
CALL command vs. START with /WAIT option

How is the START command with a WAIT option START /wait notepad.exe START /wait notepad.exe ...any different from …

windows batch-file
Displaying Windows command prompt output and redirecting it to a file

How can I run a command-line application in the Windows command prompt and have the output both displayed and redirected …

batch-file cmd stdout tee
Windows batch files: .bat vs .cmd?

As I understand it, .bat is the old 16-bit naming convention, and .cmd is for 32-bit Windows, i.e., starting …

windows batch-file cmd
Windows batch file file download from a URL

I am trying to download a file from a website (ex. http://www.example.com/package.zip) using a Windows …

windows batch-file download scripting