3
votes
1answer
185 views

Batch files: Outputting into txt file

I'm trying to output the dir c:/[x:x etc list into a text file as well with the following code DIR >"Input Data".txt The above works but it doesn't display exactly what is output onto command ...
2
votes
1answer
90 views

Batch file to process the combining of 2 sets of pdf files together in a directory

I am looking for a script that can do the following: I have 500 pdf files with naming convention: SC####.pdf 500 pdf files with naming convention: AB####.pdf I want a batch file to check if there ...
1
vote
2answers
199 views

How to create a batch file to extract information from a file

Someone help me to create a batch file to extract information from a file and create another with that information? The file "version.log" contains only the information "v1.0" I want to create a ...
0
votes
1answer
92 views

Batch rename files using AntRenamer or equivalent

I've read through some of the other batch rename threads, but couldn't find an answer to my problem. Also, I'm using AntRenamer (portable) because I'm uncomfortable using the command line. Basically, ...
2
votes
6answers
5k views

How to list all files on all hard drives with output in MS-DOS batch?

How can I list all files (including system and hidden) on all hard drives (not removable drives)? I think in something like a: dir -a -h *.* /s > file.txt but this is for the specific drive ...
2
votes
3answers
403 views

Batch search and replace?

I have a few thousand files that I need to search and replace. Is there a software that can open a directory of files, scan those files and then search and replace? I'm aware that you can script ...
3
votes
3answers
1k views

How to copy one file into multiple subfolders at once on a Linux server?

I have a folder on a Linux server with 35+ subdirectories, along the lines of: aa.foo.bar.baz ab.foo.bar.baz .. bp.foo.bar.baz I have a file that I want to copy into each of those subdirectories. ...
1
vote
1answer
416 views

need batch files script for Copy files from one directory into multiple directories

in our regular work we have 500 to 600 hundred voice files we need to distribute in user so we are doing copy past one one files manually we have list of files copy source and destination. now we need ...
0
votes
1answer
263 views

How to re-save web.config using command prompt

I'm using a simple cmd batch file to deploy my Asp.net MVC web application to server network share. The problem I'm having is that my DLLs can't be simply replaced by new files since existing ones ...
1
vote
1answer
391 views

Windows 7 batch: Change to program folder before starting program

My program opens nicely with a Windows 7 shortcut. I want that in a batch file. Contents of shortcut [full path] copied into *.bat opens program minus needed hidden parameters. I tried preceding with ...
1
vote
1answer
617 views

Starting Multiple Internet Explorers in a Batch File

In Windows XP, I am trying to start multiple IE7 with a batch file like this: @echo on "c:\windows\explorer.exe" "c:\windows\explorer.exe" "c:\Program Files\Internet Explorer\iexplore.exe" ...
1
vote
2answers
4k views

Delete all files and folders EXCEPT those with extension .svn and .svn-base

I need to remove all files and folders from a particular parent folder except those which have .svn as the foldername and those which have *.svn-base as their filename. Is there a Windows script that ...
0
votes
1answer
183 views

Download folders from dev server to local drive

I am developing a .net web application on a local environment. I have a dev server that the application is installed on. Within the web application on the dev server I have four folders that I dont ...
1
vote
1answer
996 views

How to make a new file on Windows in CMD?

I need a .cmd file that creates a new type of file when I click it. Is this possible? For example: Click .cmd file CMD pops up asking what file do I want to create...(eg: .css, .html) Then creates ...
1
vote
8answers
1k views

Add option to boot.ini with batch

I need to create a batch file that adds text to the last line in a boot.ini file, for example the last line of my boot.ini is : multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP ...
0
votes
1answer
183 views

Program in batch file reading old version of newly altered file (XP)

I have a normal batch file, running on XP. First, program A apends data (a string) to the end of file X.dll (on the server). Then program B opens the file, and looks for the data. However, sometimes ...
2
votes
1answer
323 views

How to determine if file on another machine is being accessed

I would like to determine if a file on another computer (or network) is currently being accessed. Ideally, I want to perform this task in a batch file, but other methods of performing this feat is ...
3
votes
4answers
2k views

Using Robocopy for file rotation

I am looking for a way to use robocopy to rotate log files. Currently I have a batch file using robocopy to copy files and log the results to a specified folder location. What I would like to do is ...
1
vote
1answer
698 views

batch copy files with error log on missing permissions

I'm searching for a tool to batch-copy files, that should support the following points: copy files from a net-share report any errors show errors only or filter log on errors don't stop on an error ...
3
votes
2answers
2k views

Windows Batch Scripting: Newest File Matching a Pattern

This would be lightning quick in linux, but I'm not familiar enough with windows flavour of batch scripting. Basically I want to look for a series of files matching a certain wildcard, and get the ...
0
votes
1answer
383 views

Extract files from WInZip, perform action, then extract next file

I've got a zip file that contains hundreds of files. Originally the files were in their own directories. Unfortunately, whoever zipped the file did not preserve the directory structure and some of the ...
3
votes
3answers
1k views

Task scheduling Batch Files in Vista

Wondering if there is some trick to scheduling a batch file to run in Vista. I have tried almost every setting/arg I can think of with no result other than an error, or the command window opening ...