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.

Run batch file as a Windows service

In order to run one application, a batch file has to be kicked off (which does things like start Jetty, …

windows windows-services batch-file
How to loop through files matching wildcard in batch file

I have a set of base filenames, for each name 'f' there are exactly two files, 'f.in' and 'f.…

command-line windows-xp batch-file
How can I move all the files from one folder to another using the command line?

What is the best command to move all files from one folder to another? I want to do this from …

batch-file cmd command-prompt
Kill a Process by Looking up the Port being used by it from a .BAT

In Windows what can look for port 8080 and try to kill the process it is using through a .BAT file?

windows batch-file process kill-process
How to delete a folder and all contents using a bat file in windows?

I want to delete a folder with all files and subfolders using a bat file. I have tried the following, …

windows batch-file command delete-file
Open text file and program shortcut in a Windows batch file

I have two files in the same folder that I'd like to run. One is a .txt file, and the …

command-line batch-file cmd command-prompt
How to run batch file from network share without "UNC path are not supported" message?

I am trying to run a batch file from a network share, but I keep getting the following message: "UNC …

windows batch-file unc
How can you create pop up messages in a batch script?

I need to know how to make popup messages in batch scripts without using VBScript or KiXtart or any other …

popup batch-file
Creating a file name as a timestamp in a batch job

We have a batch job that runs every day and copies a file to a pickup folder. I want to …

windows batch-file cmd timestamp
How to change current working directory using a batch file

I need some help in writing a batch file. I have a path stored in a variable root as follows: …

batch-file directory command-prompt drive