2000 organizations, including eBay, Ericsson, and Lockheed Martin, now work smarter with Corporate Accounts. Save over 36%!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Windows Batch Solutions: 1 - 25 of 1134
 
Is there a way to make a bat file wait a or delay a set period of time like 30 sec?
I need to write a batch file that maps a network drive but uses a different user name and password to log on to that network share.
Hi experts, I have a Windows script that is setting the name of a file with extension of date format as yyyymmdd. It is working but I am wondering how I could modify it to make the date th...
I am trying to use psexec to run remote DOS commands on a server. Unfortunately I am not permitted to copy the files I am running to the remote machine for security reasons. Therefore I have u...
I'm looking for a batch file or script (whichever is easier) to map network drives via the "net use" command on remote machines without requiring user intervention. I have tried Psexec and ...
I need a command line tool to check if a port is open on my server. It should no need any 3rd party packages such as winCap ..I simply need it to incorporate it into a batch file. I have chec...
Hi, I have a folder named Test with sub directorties. I'd like to be able to create a simple batch file that deletes all folders within test and test's sub directories that match a supplied...
Here is an easy one... I need the command that will delete a directory and all the files and folders within in. I need for it not to ask if I am sure. So far I've got cd C:\DataUpdate\...
I need to write a .bat file that will copy 3 large files to a network share. They are large files so I need to schedule it to run over night. For example: copy source=C:\largefile1 + C:\la...
hi, EE forum.  I need some help on how to properly install a batch file as a windows service.  The part of actually creating the service, I've done, but need to feed the parameters, similar to...
Hey there, any one can help to create a windows batch file to automate the whole removal process of Symantec Endpoint Protection 11 which is mentioned in this link : http://service1.sy...
Hi, I need to create a DOS batch file to run one of many possible programs, determined by the argument (a number) to the script. What I'd like is if there is no argument given to the scr...
Ok..here is one for you ssh script guru's. I need to create a script that will automatically run in a batch file that will open a ssh tunnel to my host and run. I need to automatically log ...
Dear all experts, I'm having a problem when writing a VBScript program and here is the script that I write: Sub PortMonitor (strCommand2)      Set StdOut = WScript.StdOut      Set objShell =...
Wrote a batch file called robocopy.bat it contains the following: robocopy d:\Users \\mggbkup\backup\BACKUP2007\users\ /S /E /COPYALL /NP /R:10 /W:30 /LOG:c:\users.txt robocopy D:\shared ...
Hi, I'm having a small problem with a particular script that I have assigned using group policy under: User Config\Windows Settings\Scripts\Logon The script is a .vbs and the idea is ...
I am using psservice tool to stop and start windows services.   However, I would like a batch script to (a) to check if a windows service has stopped, if not then report fail status to a lo...
I need to write a bat file "script" which will read a text file and replace all "C" in position 91 with a "P" That's it.   I could hard-code the file name in the code, but it would be more ...
I have a workstation running Windows XP Professional SP2 within a Windows Server 2003 domain.  There are several people who use the computer, all of whom just have basic user rights, but I hav...
I am running 2 scheduled tasks on a Windows 2003 server. Each of these calls a separate batch file to run various backup and database maintenance processes on a  Mimer SQL database. These have...
I am trying to run an SSIS package from a command prompt, and I am trying to set it up as a batch file run as a Scheduled Task.  If I run the batch file from a command prompt manually, copy/pa...
How can I use psexec to execute a DOS batch file ("name.bat") on a remote server from my XP PC?
Hello Experts, I'm trying to increment a variable in a batch file on a W2k3 server to create a unique output file name but my increment will not work within the do loop. Any idea's Thanks ...
Hi , I want to write a batch script which will check the Databse status and then proceed for the further task, I allready have done same task in Shell script but not able to make it in DOS (W...
I've got a batch script and it needs to delete archive folders that are older than 4 days.  Here are the steps the batch files does (extreme pseudocode): Delete archive folders older than 4...