backup files with batch

Associate
Joined
8 Mar 2007
Posts
2,176
Location
between here and there
hey all,

I need to backup files from a certain dir on to the network everynight.

The problem is i don't wnat to back up every file in the source folder just the file modified that day.

I could use robocopy but that would mean installing server tools 2003 (or whatever it is) on every machine.

how can i just copy the newly edited files??

any ideas?
 
Funny you say that...

I was going to go down that route, but I don't know vbs at all. (i am aware that its a bit more powerfull than good old dos)

can i have an example please?
 
ok cool, thanks.

Whilst we're on the subject of dos..

I can export a line to a txt file by using; echo line to be exported>>c:\line.txt

That will make the txt file 'line' and add 'line to be exported' to the file.

does anyone know how i can bring it back in??

set string=<<c:\line.txt


or something?????
 
not to worry,

got it sorted.

set /P name=<D:\data\backup.txt (would take the first line from backup.txt and would be useable as a variable - name.

:)
 
Back
Top Bottom