The batch tag is predominantly used for Windows batch file questions.

learn more… | top users | synonyms

4
votes
1answer
69 views

Batch script to start the service in a gap of 10 min

I have created a batch script to start the services in a gap of 10 min. My batch file will start the service on the local system and then will wait for 10 mins and starts the service on another system ...
5
votes
1answer
88 views

Windows Batch Tech Tool

I made this to help new techs be more proficient while they are learning. I know most of it is common knowledge around here. I would also like to point out that I don't really know batch but I am ...
1
vote
1answer
79 views

Batch file to copy specific folders and to delete the folder which is not copied

This is the batch file i have created which copy the specific folders which I want. I use the specific server folder name of which I want to copy. This batch file will also delete the folder which you ...
1
vote
1answer
73 views

Batch file to zip logs date wise

This is the batch file I have created which zips the particular month logs and deletes those logs from the source folder after successful zipping. If it does not find the zip file, then it again ...
3
votes
2answers
138 views

Batch file to copy specific folders

This is the batch file i have created which copy the specific folders which I want. I use the specific server folder name of which I want to copy. Please suggest any improvements. ...
2
votes
1answer
36 views

Improving efficiency and flow by changing subroutine orders

A batch file executes WinSCP.exe's console mode to download files and log the actions. Upon exit, WinSCP returns: ERRORLEVEL 0 if the files are successfully ...
3
votes
1answer
83 views

Checking for a date and compare 2 different files

From snippets around the web, I was able to put together this .bat file to check for a date and compare 2 different files. This works below but I want to clean it up so it can be much lighter and ...
4
votes
2answers
58 views

Batch file-download script - is it necessary to re-phrase commands?

I run a script to download a file and unzip it. An import process then runs and leaves the files in their source location. I wrote the fully functioning code below to clean up that directory to be ...
3
votes
2answers
138 views

Msbuild batch - if any build fails than skip the last one

I have this batch that builds some projects using msbuild. What I want to do is to skip building my-last.proj if any of the above builds fail: my-proj1.proj to my-proj5.proj using environment ...
6
votes
1answer
146 views

Making a .bat batch command-line interface

Recently I am working on batch to make a very simple command line interface. The code looks like this: ...
8
votes
2answers
159 views

Batch-File FizzBuzz

I've never done a FizzBuzz before, so I decided I would. Please let me know what I could have done better. This is ran via a .bat file in Windows. ...
0
votes
2answers
435 views

Speed up SVN backup

The following batch script runs on a Scheduled Task on Windows 7 with a quad core 2.5GHz and 16GB of DDR3. It makes the svn server unavailable for about 10 minutes, so it can produce a 500MB file, ...