... Garry by any chance did you mean a multi command line instead of a multi-line command? If not, I didn't follow you this time, and knowing you and your...
What I need to do is synchronize some directories between an NT2K server and an FTP (Linux) server. Dir names Top Level Directories ACD Subdirectories in ACD ...
... <snip> Yes you're correct. I should have said multiple command line. I tend to (incorrectly) think of them interchangeably since grouping multiple commands...
Hi I need to create a batch job that copies selected extensions/folders from the local C: Drive to a network folder. I have created the relevant DOS Network...
... This isn't tested, and it isn't something I normally do, but there should be the beginnings of something workable here. It's meant to be run on the mapped...
Hi Michael That appears to work fine and is exactly what I need. However if I launch this from a mapped network drive, it collects the files from the network ...
Michael I think I jumped the gun... The code that copies the favorites location isn't working. I get the following error "The system cannot find the file ...
On stardate Mon, 5 Apr 2004 16:07:41 +1000, Captain Anthony Abraham spake ... I pass on this one - woolly head syndrome. If noone else has ideas then I think...
Hi Anthony, Here's a snippet of code that has been tested and works fine under Windows 2000. I will presume that it will work under NT4 (just change the ...
... I gave it one more try - and it seems to do the job. This reads a list of server\share from a text file, and uses UNC paths to copy the data, also reading...
I see a number of people have already replied with solutions so I'll just add this. The actual files that comprise the links in the Favorites folder use what...
Hi Thanks to all who have replied in regards to my issue with batch files.. I have done a search on batchworld to see what syntax would be required to copy...
... Well you can use that code by extracting the source path from the source file using %%~pa then creating the dest path and copying the file there. for /f...
On stardate Wed, 7 Apr 2004 09:36:24 +1000, Captain Anthony Abraham spake ... Try this. How do you separate different backup sets? @echo off for /f "delims="...
On stardate Wed, 7 Apr 2004 14:33:08 +1000, Captain Michael Marquart spake ... oops. I meant to use xcopy but didn't change the copy switches as well. -- ...
Its for a once off backup so Im not looking at retaining more than 1 copy. Ive had success with the following so I shall go with this.... Im yet to test the...
On stardate Wed, 7 Apr 2004 18:26:09 +1000, Captain Anthony Abraham spake ... I meant how will you separate each of the 500 machines set of data, for when you...
Im with you now... Basically what I'll do is use WinPE to boot each workstation. This will allow me to see the users C: Drives (NTFS). I will map a drive in...
Hi Eric, Hope you found a solution to your query, unfortunately I don't know the answer there. I'm having an issue with Windows 2000 and ntbackup. There have...
Hi All, Just a query with regard to lists and a for loop. Is it possible to enter an IF statement into a FOR loop that tells the prog to skip a line in a LIST?...
On stardate Thu, 15 Apr 2004 11:47:56 +0100, Captain Derek Byrne spake ... There are a few way to deal with it - this is a simple way for NT (possibly W2K+)...
Cheers for that Michael, Actually found another way (included in the help file, using the eol=;) for /f "eol=; tokens=1* delims=," %%a in (%LISTTSALL%) do ( if...
On stardate Thu, 15 Apr 2004 13:02:17 +0100, Captain Derek Byrne spake ... I'm not sure how that achieves the same purpose, just by reading it. ... set /a...
Cheers again for the arithmetic - didn't realise that the % were not required for arithmetic. I reckon the ; is a normal comment statement for lists and batch...
Hi, Is it possible to write a batch file that creates a ODBC link to a SQL Server to run under NT4 WS, and possibly W2000? The Lan support guys are running up...
Does any one know of a way to print a document to a network printer w/o having to know the server and printer name? I would prefer to simply print to that PC's...
ODBC uses a DSN file of some sort to determine what SQL server and instance to connect to. The DSN is simply a text file, easily edited by any number of...