Batch Files Questions and Answers

Recent IT Questions

1 - 20 of 36
<<PREVIOUS 1|2 NEXT>>

Delete files based on Size

Is there a way to write a simple Batch file that would allow me to delete all files in a folder with a size of 0KB. I have an application that churns out csv files every two minutes, but quite a few are empty, and I want to get rid of them automatically before archiving the rest. ...

View Answer   |  Nov 10 2009  10:29 AM GMT
Windows Server 2003, Batch files
asked by IGGt

  5 pts.

run bat file

I need to deploy a batch file 123.bat to collect system information to a server in my network.And want to run this bat file on a daily basis at a particlual time .I can simply create a user logon script for this .but my problem is we have more than 200 systems and normlly the users didnt shutdown...

View Answer   |  Oct 27 2009  12:18 AM GMT
Batch files, Windows Server 2003, Windows XP
asked by Sumeshbnr

  1540 pts.

MS-DOS code to delete old Files

I am using windows XP and need to write a DOS batch (.bat) file that will delete old files from a directory.  This will run on a schedule and will not require human interaction to input any data. My problem is, I am not good at writing batch files. I can do the basic 101 type stuff, but  finding...

View Answer   |  Oct 20 2009  3:05 PM GMT
DOS, Windows, Software
asked by Jutpro

  130 pts.

Batch file to run cisco commands

How do I create a simple .BAT file to run on 25 devices for the purpose of getting "show fabric errors" output. And/or, does anyone know of a tool that I can do this with?     Software/Hardware used: Cisco 6509

View Answer   |  Sep 5 2009  3:38 PM GMT
Cisco Command, Cisco 6509, Batch files
asked by Vtrim

  5 pts.

delete x days of files Windows server 2003 sp2

I am trying to use ForFiles to delete files in a folder that contains file older than 30 days. I am using Windows 2003 server. This is what i am getting on the DOS screen C:temp>Windows 2003 u Forfiles 'Windows' is not recognized as an internal or external command, operable program or batch...

asked by Kwt712

  535 pts.

delete x days files and folders

I need help with a batch script that will delete 30 days old files from a folder automatically ... i have read about forfiles and i am doing something wrong, don't know where the file goes when i click on forfiles.exe ... anyways, if someone can help me with this i would greatly appreciated ......

View Answer   |  Jul 29 2009  1:43 PM GMT
Batch Scripts, Batch files
asked by Kwt712

  535 pts.

Autorepair batch for local area connection

Hi, I am from India. I am a cable internet user,this service uses switching network and user is assigned one ip, I can log in using there client, but the service is having a loophole , anybody on the network can see all the ip's on the network (by using IP scanning tools) and if he changes his...

View Answer   |  Jul 12 2009  4:02 AM GMT
Internet, Batch files, ISP
asked by Kusur

  5 pts.

DTS Package completes successfully but doesn't run batch file

I have a DTS package that creates and XML file and then FTP's that file to a location. I run the package manually and it works fine. I've created a job for it, run the job and it completes successfully, but go to look and the ftp from the batch file doesn't run. Obviously a permissions issue but...

Answer Question   |  Jun 12 2009  3:22 PM GMT
DTS packages, Batch files, DTS Package Errors
asked by Bleeb

  45 pts.

Customizing the logging of a Wiindows batch file

I am trying to customize the piped output of a batch file. I am currently using Robocopy to copy/move files to various directories based on the file naming convention. This part is working just fine. I am having problem though with customizing the logging of it. I have the batch file running as a...

View Answer   |  Jun 5 2009  8:11 PM GMT
Windows Batch Files, Batch files, Batch File Logging
asked by MicJ

  155 pts.

DSADD batch script

Would anyone who has esperience with the DSADD batch script be able to help me with the basic steps of creating one? Would you have an example you could send me or know where I could download a good "template" version? I would greatly appreciate it.

View Answer   |  May 28 2009  2:36 PM GMT
Batch files, DSADD
asked by ConFlicker

  40 pts.

adding url's to the links toolbar in IE via script

daily I have to add a couple of url's to the links toolbar for every new computer that comes into our office. it's simple to drag and drop manually but time consuming and tedious. does anyone know how I can have this done automatically with a simple batch file or vbs script?

View Answer   |  May 26 2009  6:55 PM GMT
Internet Explorer, VBScript, Batch files
asked by Toggler

  80 pts.

Eject CD-Drive automatically from pure DOS mode

Hi guys, Heres my problem: Im making an auto-bootable ghost disc of Vista, so that anyone who is computer illiterate is able to restore their corrupt operating system. I should have no trouble doing this part. However, i want the disc to auto-eject once ghosting is finished. Does anyone know a way...

View Answer   |  May 5 2009  3:21 AM GMT
//EJECT, Boot disk, Ghost image
asked by Temp01

  65 pts.

Add to Favorites in Internet Explorer with batch file

i want to add url link to internet explorer by using batch commands in a batch file.For example, i want to add follwoing link http://itknowledgeexchange.techtarget.com/itanswers/ using batch commands. Thanx

asked by Shkimran

  5 pts.

File errors

When I run Xcopy from a batch file, some files generate an error. "the file was modified externally" I can exclude these files but I really need to keep them backed up.

View Answer   |  Apr 11 2009  1:42 AM GMT
Xcopy, Batch files
asked by Partainm

  5 pts.

Batch File to Query internal Mail Server

Is it possible to create a batch file to query a specific mailbox on an internal Exchange mail server for an email that is sent to a specific email group and move that email, or, the email attachment to the a folder on another drive. I am not very good in creating batch file so any help would be...

View Answer   |  Apr 9 2009  6:42 PM GMT
Batch files, Exchange Server, DOS
asked by Jutpro

  130 pts.

SQL Server 2000 backup problem using batch file

i have written a batch file to backup sql server database and it holds the data of CRE.the batch file is running successfully. but, after running i am unable to login to CRE (cash register express). i doubt if my batch file is corrupting my database please answere me what may be the problem

asked by Mesunny

  5 pts.

Automating a Remote desktop connection

I have written a batch file that part of its function is to initiate a remote desktop connection with another computer on the network. When the batch file gets to the remote connection command, the remote connect window appears and I have to press the "connect" button for the process to continue. ...

View Answer   |  Feb 25 2009  7:57 PM GMT
Remote Desktop Connection, Batch files, Remote desktop
asked by Flame

  14495 pts.

Batch file with keyboard commands

I am trying to create a batch file that utilizes keyboard commands for a Macro on my computer, but I cannot figure out how. Any ideas would be appreciated. The command I am trying to run is alt+S.

View Answer   |  Jan 7 2009  6:37 PM GMT
Batch files, Macros, Macro Express
asked by Jab818

  15 pts.

Create a batch file to connect to a network drive

How to transfer a file to a shared network drive thru a batch file

View Answer   |  Dec 14 2008  9:06 PM GMT
Network drives, Batch files, Shared drives
asked by Ylew

  5 pts.

batch file to create users and groups

how do I Create a set of scripts that can use any text file to create new groups and users and assign the users to the correct groups. Full Names and user names must be set for the users. Also, where could i find a good reference site for commands that I may use to create batch files of my own? ...

View Answer   |  Dec 4 2008  5:38 PM GMT
Windows XP, Batch files
asked by EricGagne

  40 pts.

1 - 20 of 36
<<PREVIOUS 1|2 NEXT>>