Hi, I need a batchfile whitch does the following: It removes from the homedirectories on the servers (Windows NT)all the files with the extentions: exe, dll,...
i got a vbscript that runs in our login script that removes undesirable files from userareas it can also skip certain ones. And it emails me with details of...
How would I go about copying the same file to the same location on multiple machines. I would take my the list of machines from an input file? Any help would...
Not tested - NT or higher. filename.txt contains the machine name in \\server\share format. @echo off for /f "delims=" %%a in (filename.txt) do copy file.ext...
Is it possible to insert a particular type of picture/images say *.eps kept in a directory to automatically insert in MS Word using a batch file? -- Kailash N....
For the W2K version of NT, to get rid of spaces in MP3 files. @echo off for %%a in (*.mp3) do call :parse "%%a" goto :EOF ... set name=%1 set name=%name: =% ...
Hello nice fellows, i'm trying to run a batch on which i have to update the contents of a network shared folder. So, i'm doing this. I check if the folder ...
I've caught a bug ont that. It has do finish as "\.", with a dot after the backslash. But the thing now is the deltree is not working. i'm getting a response...
Try using deltree regardless if the directory exists or not. It will silently close if the directory doesn't exist. Check your modulo and remote_path as they...
Just a friendly warning: Be aware that this command is dangerous deltree /Y %remote_path%\%modulo% because if the environment variables do not get set, which...
Thanks. i got it fixed. you're right. i had it mixed. it was the other way around. also, i was running that batch on ny, which doesn't accept deltree. i ...
I'm using xopy to copy an entire folder to a network shared folder. SET modulo=%1 SET remote_path=%2 xcopy C:\Arquivosdeprogramas\cvsnt\checkout\%modulo%...
Hello, What OS are you using to copy to and from? If you are using Windows 2000 (or win nt?) the 'net use' command used to map drives to network shares allows...
Well... i'm trying to xcopy from a nt server to a linux red hat 8. i'm gonna try that anyway. thanks for the answer. Eduardo Mylonas ... Windows 2000 ... ...
I'm trying to map to my network drives over vpn in Windows 98. I'm using a cable modem to connect to the internet and always get a successful VPN connection. ...
Shorten the connection to net use G: \\servername\users <file:///\\servername\users> and if it$B!G(Bs shared you should be able to connect. Net use G:...
Disregard the previous, I don't know what happened to the formatting. Shorten the connection to net use G: \\servername\users and if it’s shared you should...
On Mon, 7 Apr 2003 16:17:14 -0400, "Sam Wallace" <guydep@...> ... ...and this isn't really a decent workaround, but it makes the password a little more...
well, all of this seems a good way to do that, but there's a little problem with that. the mapped driver only works if i am logged on the machine. the thing is...
W2k and above: @echo off for /f "tokens=2-4 delims=/- " %%a in ("%date%") do set DAY=%%c-%%b-%%a ... for %%a in (filename.txt) do ren %%a %%~na.%day%%%~xa On...
Dear all, This is all new to me. So I would please like to know if I can set a filename as a variable without the extension being carried accross? EG I have a...
Hi Michael, I am sorry if this is a little late, but I am reading through this list in digest form. I would have approached the problem of pulling the name...
Hi. I am a novice when it comes to batch files. I am trying to format a 100 Meg Zip disk and then copy some files from various directories on my computer. I...