Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Windows Batch Solutions: 176 - 200 of 1088
 
dear experts , example is explained as below .... Example :    original filename    --     man01.txt                    Rename file name be as    -      man_CURRENT DATE.txt thanks for...
I'm looking for a script that will delete all sessions connected to all shares on a remote workstation/server.  Manually I would logon to the remote workstation/server by Administrative Tools>...
Hello, Can someone please help me with find and replace strings in a file. This is what am trying to do: FOR /F "tokens=1" %%G IN (host.txt) DO For /F "tokens=1,2" %%A IN ('type %%G.txt'...
Hi, I have a directory that has 30k+ files in it. I will call it Directory1. What I want is if possible a batch script that will copy 100 items from Directory1 to Directory2, pause for 1...
I'm installing Office 2007 and I have to enter a registry key Dword. I would have to go in HKEY_CURRENT_USER>Software>Microsoft>Office>12.0>Word>Options and create a new Dword called NoReReg a...
Hello, I am trying to create a batch file that will be deployed silently to just do... gpupdate /force and that's it!  The problem is, I want it to run silently but that command will ...
I have tried my standard DOS 622 techniques as follows: if (%v%)==() echo empty if ~%v%~==~~ echo empty if "%v%=="" echo empty if the environment variable is set to 15, set v=15, this expa...
Hi, i have a text file of the format 00[data seperated by | with spaces]\r\n 01[data seperated by | with spaces]\r\n 02[data seperated by | with spaces]\r\n 00[data seperated by | with ...
I need a script whcih can disable the proxy server and enable auto detect settings for IE. I can't use GPO as there is not the facility to do this in our environment. I need this to be the ...
I have a Windows batch script that backs up a folder, but I was wondering if it's possible to zip up the backup folder? This is my current batch script: @ECHO OFF MD C:\test\backup xcopy ...
I need to create a .bat file to copy a shortcut from my machine  to the desktop on a predefined list of ips. I have the following, but it doesn't work. Thanks. My ips are listed on seperate...
I've written a batch file to facilitate distributing Symantec AntiVirus to clients via a Group Policy Object (GPO).  The GPO installs SAV on clients by using a Software Installation Policy.  I...
I am creating a batch file to transfer a vb6 executable.  I need to know if the file is open in order to run the batch.  ie. if they are in the executable and using it exit out of the batch, i...
I am trying to create a batch file application Is it possible to pause the program for a certain ammount of seconds? I want the program to wait 10 seconds, or wait for a key to be presse...
If Voloview is installed over Autocad, it sets the version in the registry to AutoCAD.Drawing.15 instead of leaving it as AutoCAD.Drawing.16 The registry path is this: HKEY_CURRENT_USER...
I'm trying to run a command line program with a user provided switch using vbs (command with userid as switch. I have copied the problem portion of the script and several variations below. ...
I am inquiring to see if there is a software product or a general way to convert Unix shell scripts to dos batch files. It does not matter if they are done on the fly or manually. All that mat...
Hello Everyone, I am pushing down a .msi program that requires a settings.xml file to be placed after the install is done. I will be using a batch file and I am not sure how to get the batc...
Hi. I currently have an individual batch file to accomplish such, but this creates too many windows. My goal is to execute srcds.exe for a game server. The batch file pauses while the program ...
I have a simple script that saves files using MMDDYYYY_hhmmss.par2 and works well until midnight: par2 c -r25 %date:~0,2%%date:~3,2%%date:~6,4%_%time:~0,2%%time:~3,2%%time:~6,2% *.mp3 wh...
Can't get my batch file to successfully run.  I'm getting error code 31 from psexec v1.94.  What I am doing is running a batch file that goes out and backs up all the computers i've designated...
I'm trying to write a batch file/script that will find a phrase in a running log file and if it finds the phrase it  will stop a service and then restart it.  The code is below.  If it finds t...
Hello,  I tried using a batch file to automatically map a network drive at home on Windows Vista Home Premium without asking for a password. Previously it would map the drive but would alwa...
Hi, I need a daily .bat/.cmd MSDOS script that runs at 1am that will : a)If it's the first Sunday of the month, do : xcopy/E/C/H/Y  n:\folder1  n:\backup\folder1\yyyymmdd  > n:\log\yyyy...
We currently use an extremeley large batch file to automate a lot of IT tasks. For example 1. Install Antivirus 2. Add WSUS registry key 3. Install Printers 4. Copy File X 5. etc An...