I need to find and delete a file (pagefile.pif) on a list of servers the script will need to traverse the subdirectories. I'm dealing with a virus right now...
To do this quickly do the following: on the server at a command prompt type: del /s pagefile.pif > c:\del_pif.txt This will search the drive and delete that...
On Thu, 1 May 2008 08:46:24 -0500, "Morris, Lamar" <LamarMorris@...> ... Untested Lamar: Delete the echo if it returns the correct things @echo off for /f...
I have a question if any of you can help. Say you wanted to delete the cached internet files for all subdirectories of C:\Documents and Settings\UserA\Local...
On Thu, 1 May 2008 08:43:24 -0700 (PDT), Christopher Welch ... @echo off setlocal set "var=%SystemRoot%" set var=%var:~0,1% set "d=%var%:\Documents and...
On Thu, 1 May 2008 13:55:40 -0700 (PDT), Christopher Welch ... It is untested, but run this one and see if userB is listed. It's the same code with the delete...
I'm having a problem running a bat file in XP Pro. I'm running it with: RUNRMTCMD CMD('C:\BATCH\SCAN.BAT 00155900000.TIF') RMTLOCNAME('192.168.1.4' *IP)...
Thanks for the reply. ... It did work when I had it configured with a mapped drive. It doesn't work now when I'm signed on with the user SCANS. ... I'm using...
On Mon, 05 May 2008 19:26:04 -0700, "Gary Kuznitz" <docfxit@...> ... As it worked with a mapped drive then perhaps irfanview doesn't grok UNC paths. ...
Thanks for the reply. ... It has the same error. I looked into your suggestion of maybe the network is not available to a user that is not logged in. Someone...
On Wed, 07 May 2008 22:27:20 -0700, "Gary Kuznitz" <docfxit@...> ... Try opening a cmd window and launching the command manually. If the autoit script...
Right, so we have a network and we are monitoring the reliability of our connection using a ping -t command, one for our local area, one for the gateway and...
Not that I know of. Maybe you could try saving to the text file and then outputting the file. ping -t yahoo.com > yahoo.txt type yahoo.txt But the -t switch...
You could look at using the unix 'tail' command that has a port on windows, either in unix world or the MS type (http://malektips.com/xp_dos_0001.html) Tail...
7893
Parag P. Doke
paragpdoke@...
May 12, 2008 8:01 am
I haven't tried this with the ping output yet, but there also a tool to direct output to 2 streams: http://commandline.co.uk/mtee/index.html Regards, Parag P....
I have a bat file that is giving me an error when there is a space in the %path_List%. The error is: The system cannot find the file C:\Program. How can I fix...
You need double quotes around the path\file name. Try changing set PATH_BIN=%~dp0 to set PATH_BIN="%~dp0" ... [Non-text portions of this message have been...
You can also use progra~1 instead of program files Lamar ________________________________ From: batchworld@yahoogroups.com [mailto:batchworld@yahoogroups.com]...
When I have this in a bat file: Start /belownormal /wait %EXE% -d %DEBUG_LEVEL% -l "" -q %SPEED% -f 5 -a 6 -u DisableDefaults %hogs% Which actually looks like...
For some reason it skips whatever is in the double quotes "". I confirmed that with just some other random programs. Maybe there is something subtle we're...
On Thu, 15 May 2008 11:39:25 -0700, "Gary Kuznitz" <docfxit@...> ... Always add a "" after the start command because the first quoted text is taken as...