Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
script to copy file in a directory
Name: jay Date: September 4, 2003 at 09:31:19 Pacific OS: win2k CPU/Ram: P4,1GB
Comment:
how can i use a script to copy the newest file in a directory? i.e. I have a number of files with similar names (SCAN1,SCAN2,etc) the highest index is the newest file and there can be a maximum of 150 of these files. I dont want to copy all of them because they are fairly large and at some point there could be 150 of these files, but I just want the most recent one.
Name: Analyst Date: September 4, 2003 at 12:39:56 Pacific
Reply:
I don't know of any script commands that can use Windows built in capabilities to do that, if it has any, but Analog X has a command line utility called New Move that sounds like it has what you need.
Summary: hi,i have this vbs script to copy files from a mapped drive(F:) to my local drive(D:) ------ M = Month(now()-1) D = Day(Now()-1) if M < 10 then M = "0" & M if D < 10 then D = "0" & D strFilePat...
Summary: hello everyone, i need help to distribute files in a networking environment. scenario: everyone in the office has their own id & profiles, there's a file that everyone uses but it's too slow to load f...
Summary: Hi all, I was wondering how to use xcopy to grab only the latest folder in a directory. For example, say I have 50 directories and their names were 1 thru 50 with 1 being the oldest and 50 the newest...