Batch Files Questions and Answers

Recent IT Questions

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

Windows Scheduler fails to execute batch file.

The Problem: I have a batch file that I am attempting to run once a week, using Windows Scheduler. The file is hosted locally on my "Dropbox" server, and the purpose of the batch file is to map the Z: drive to a remote PC, run NTBackup on Dropbox to reach out to the remote PC and back up their...

View Answer   |  Nov 18 2008  7:27 PM GMT
Windows Server 2003, Authentication, NTBackup
asked by Lonewolfbw

  265 pts.

Writing a batch file to copy folders and files

I wanted to right a batch file that would copy only a new directory and the contents to another location, without copying any old directory and contents. This new directory would be nesting inside a directory, an a new folder will be added from time to time. I thought I could use the xcopy...

View Answer   |  Oct 17 2008  12:31 AM GMT
Batch, Batch files, Xcopy
asked by Mk1983

  15 pts.

Scheduled Tasks on Server Pick Workstation by ID#

I have written some batch files. I want to deploy these as scheduled scripts on a file server. I would like to add a list of workstations on the file server and include an ID number for the workstation. The additional information in each batch file should iterate through the list and pick the...

View Answer   |  Aug 28 2008  3:43 PM GMT
CMD, Batch files, Scheduled Tasks
asked by Schmidtw

  10885 pts.

Identifying output files in query definitions

How can one identify all/only output files in a list of query definitions (the list has over 1000 queries in it)? Executing in batch RUNQRY with parameter PRTDFN(*YES), in a loop for each query, then scanning the collective result, might theoretically do the job but doesn't work for queries in...

View Answer   |  Aug 25 2008  4:06 AM GMT
AS/400 Query, Batch files, AS/400 output files
asked by 221901

  65 pts.

Send E-mail w/attachment from Command Prompt via batch file

Most users at my organization have all of the utilities to keep their computer running smoothly, but fail to use them on a regular basis if ever. I have written a few batch files which execute all of these programs, clean this, clean that, defragment, and so on and so forth. Each time the file...

View Answer   |  Jul 28 2008  2:56 PM GMT
CMD, Batch files, Command Prompt window
asked by Schmidtw

  10885 pts.

Want to extract the Zip file using DTS Package and also run the DOSBase Batch file with it

Want to extract the Zip file using DTS Package and also run the DOSBase Batch file with it? Hey i have Zip file which i want to extract using the sql script or using DTS Packages. and also want to run the Batch file from DTS Packge. its possible or not ? and yes then how ?

View Answer   |  Jul 17 2008  8:27 AM GMT
Batch files, SQL scripts, DTS packages
asked by 2174816

  5 pts.

Is Connect:Direct a real time file transfer software?

In case of batch file transfer I believe Connect:Direct is very efficient. Can we compare Connect:Direct's strenghts for Batch Vs Real time file transfer?

View Answer   |  Jul 10 2008  7:18 PM GMT
Connect:Direct, Batch files, Real time file transfers
asked by Ssoni

  15 pts.

to run a batch file in i5/OS

how to run a batch file or a script file in i5/OS. How to create file with extension .sql and run the same in i5/OS

View Answer   |  Jun 27 2008  1:23 AM GMT
OS/400, i5, Scripts
asked by Jacky

  160 pts.

Migration: From Power Users Group to Restricted Users Group.

How can I Migrate all accounts stored on Power User Group to Users Group on local machine. This must be via vbScript or DOS Batch. Thanks.

View Answer   |  Jun 25 2008  4:18 AM GMT
VBScript, Batch files, Scripting.FileSystemObject
asked by DarkZoft

  10 pts.

Batch File

Hello, Please I need some help here. In one of the branches of where I work, they need to access a particular drive everyday, but it prompts for a password which we at the head office need to put in by ourselves because its an administrator password and cant be known by the others at the branch...

View Answer   |  Jun 24 2008  1:42 PM GMT
Password management, Batch files
asked by Jjjjjjjj

  65 pts.

Script to delete old log files on Win server 2003

Hi all, looking for a script or batch file that I can call from schedule tasks that will delete some older symantec log files that keep filling up my c: drive. Any suggestion or pointers would be appreciated. thanks in advance paul

View Answer   |  May 8 2008  2:31 PM GMT
Windows Server 2003, Scripting, Windows scripting
asked by Pandub

  115 pts.

Batch Fille

Please a simple batch file for displaying a popup window with a message Thanks

View Answer   |  Apr 3 2008  5:04 PM GMT
Batch files
asked by Jjjjjjjj

  65 pts.

Batch File

I need a Batch file that will help me backup my outlook pst files so I can schedule it to do the backup everyday at a particular time. I tried creating one but it wasnt successful. Please can anyone help me to write one that will run correctly. Thanks.

View Answer   |  Apr 3 2008  11:18 AM GMT
Outlook, .PST files, Batch files
asked by Jjjjjjjj

  65 pts.

How to monitor a file in windows for changes and run a program when it changes

I have a single text file that contains a 5 digit number of the last barcode scanned when a user enters a facility. How in Windows do I make a batch file that watches for the file to change then execute command? for example, the file is c:\temp\lastbarcode.txt

View Answer   |  Mar 9 2008  5:55 AM GMT
Windows, Scripting, Batch files
asked by Probert

  5 pts.

.Bat that extracts an specific regsitry key (SID) to a .txt or .reg file

Hello, how can i extract only the exact SID key from the registry with a .bat like this: ExtractSID.bat: REG QUERY HKU |Findstr /R "DEFAULT S-1-5-[0-9]*-[0-9-]*$" >> SID.txt With result on file SID.txt: HKEY_USERS\.DEFAULT HKEY_USERS\S-1-5-21-57989841-484763869-1957994488-1003 What i need...

View Answer   |  Mar 7 2008  4:53 AM GMT
Registry, SID, Batch files
asked by ELtangaZ

  5 pts.

Automatic E-Mail Purging Script

I was wondering if anyone knew of a better way or knew of access to a resource that would assist with providing a better script and/or batch file to execute for automatically purging e-mail from my exchange server..... Currently the script I am using to execute a batch file is as follows wscript...

View Answer   |  Mar 4 2008  10:29 PM GMT
Exchange, Scripts, automatically purging e-mail
asked by H techy

  35 pts.

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