I have a batch routine which renames files to add PDF_ to the beginning of the name, but if it runs on the same file more than once, it keeps appending PDF_ to the beginning of the name. I end...
I need a command line script to get the Hard Drive free space from a single remote computer.
I have a number of systems on our network that I want to use a .bat file in the all users startup to copy files with. So when a user logs in I want the bat file to run, copy the files from a ...
I want to create a batch file to remove files and folders on remote users' computers.
They can run the bat file as long as I get it running.
I need to delete the folder and everything unde...
Hi, have a text file with 500 hostnames which I need to get the IP address for to create some firewall rules for.
I have seen the below batch but not sure how to apply it I have hostnames....
I usually use a batch file for this, but I do not know if this can be done in a batch file. I have a folder on my C: drive that collects files from a data logger. These are all .TXT files. I w...
I need to modify this xcopy to copy only new and changed files.
how can i find the current working directory using batch files
How would I search a directory for the existence of a file using a batch file?
Hi,
I am trying to redirect output of a DOS commad to a file as below
"C:\Program Files\Macrovision\InstallAnywhere 2008 Enterprise\build" C:\gbi.iap_xml >> C:\install.log
I am expect...
This is a related question:
I now have my DELL SC440 server with two SATA drives. I am doing something different than Nick did. I am trying to install it from scratch as opposed to imagin...
How do i set the default printer in my KIX script?
I need a batch script that will move files from one folder to another folder if the Date Modified on the file is older than 60 days. I will want this script to run everyday automatically, so I...
Friends,
I'm trying to create a batch file which will generate a playlist by right-clicking on a folder and choosing a specific option from the context menu.
Here is the batch code:
-...
hi
i have a batch file name test.bat. i have it scheduled in windows schedule tasks. but it is not running. i get as status = "could not start" and as last result = "0x0".
i am a adminis...
Hello, I need help creating a bat file that will copy a file on a local machine to a network drive. I have an access database called WORKORDER.MDB right on the C drive of the local machine, I...
I'm trying to create a host of folders in one of our network drives at our firm. I've discovered and have studied the use of forfiles.exe, and almost have what I need. The following command ...
How can I incorporate the current date in a rename command on my "C" drive. This command is run from a .bat file which looks like the following:
Y:
cd \AERS\Raw_Data
Rename tblExpense-Raw...
I have DOS installed on the first primary partition (FAT), then some free space, then xp on another primary (NTFS), i restarted and DOS was booting just fine so i figured i would go edit the b...
Hi there,
I'd like to use a DOS Batch file to do the following...
Search Z:\ (All subdirectories)
for all files named, "appconfig.txt"
If appconfig.txt contains, <dependencylist>
wh...
Machine - XP
Server - 2003
Trying to run an Xcopy to copy a folder from a single server to multiple servers. Would like to have the server list on a text document rather than imbedded i...
I have the cmd file below to start and stop some services. I also have some other small files to do other tasks. I would like to have a smooth way to echo some help text in case an invalid arg...
I have a problem with a file name that is generated from a video server. The file name is over 30 characters long. I would like to make it 10 characters long. I've tried the move command b...
Hi Experts,
I am not sure whats going wrong here
This is my program:
------------------------------------------------------------------------------------------------
@echo off
SETLOCAL E...
How can I create a AT command that ping an adress every 5 min?