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 capture Curl output to a file?

I have a text document that contains a bunch of URLs in this format: URL = "sitehere.com" What I'm looking …

batch-file curl
How do I execute cmd commands through a batch file?

I want to write a batch file that will do following things in given order: Open cmd Run cmd command …

batch-file cmd windows-scripting
Iterate all files in a directory using a 'for' loop

How can I iterate over each file in a directory using a for loop? And how could I tell if …

windows batch-file for-loop cmd
How to check if a process is running via a batch script

How can I check if an application is running from a batch (well cmd) file? I need to not launch …

windows command-line batch-file
What is the current directory in a batch file?

I want to create a few batch files to automate a program. My question is when I create the batch …

batch-file directory
How do you loop in a Windows batch file?

What is the syntax for a FOR loop in a Windows batch file?

batch-file
How can I use a batch file to write to a text file?

I need to make a script that can write one line of text to a text file in the same …

file batch-file text
Show a popup/message box from a Windows batch file

Is there a way to display a message box from a batch file (similar to how xmessage can be used …

windows batch-file command-line messagebox
Batch script to delete files

I have a batch script as follows. D: del "D:\TEST\TEST1\Archive\*.TSV" del "D:\TEST\TEST1\Archive\*.TXT" …

batch-file
Command Prompt - How to add a set path only for that batch file executing?

Basically, I know I can go through my control panel and modify the path variable. But, I'm wondering if there …

path batch-file command command-prompt