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.
Copying & Renaming files at a prese
Name: George White Date: January 13, 2007 at 15:17:18 Pacific OS: Windows 2000/XP CPU/Ram: Pentium 4 and 1GB Ram Product: IBM Compatible
Comment:
Is there a way to use "Scheduled Tasks" or some other Microsoft/DOS utility (already included with the OS) to automatically copy a file from one network drive to another drive (and change that files name) at a particular time of day? I tried it with a DOS batch file but it doesn't work with directories/file names that contain spaces.
Name: jboy Date: January 13, 2007 at 15:25:27 Pacific
Reply:
Try using "quotes" around long file or path names that contain spaces (for batch commmands)
"C:\My Documents"
I'm not one of those who think Bill Gates is the devil. I simply suspect that if Microsoft ever met up with the devil, it wouldn't need an interpreter
0
Response Number 2
Name: orbital Date: January 13, 2007 at 15:52:15 Pacific
Reply:
DOS utility is irrelevent, W2K has no MS-DOS sub-system..
0
Response Number 3
Name: jboy Date: January 13, 2007 at 20:24:14 Pacific
Reply:
... I'm sure I've heard that somewhere (once or twice at least)
Regardless, batch commands for the 'command prompt' still don't work well with long filenames or embedded spaces - whether or not that's the best solution for the stated problem remains to be seen.
I'm not one of those who think Bill Gates is the devil. I simply suspect that if Microsoft ever met up with the devil, it wouldn't need an interpreter
0
Response Number 4
Name: orbital Date: January 13, 2007 at 23:59:25 Pacific
Reply:
Yes, you will hear it again as the OP actually posted in the DOPS Forum, which was rightly removed. It is about time the white text on black background is not always identified as MS-DOS.. Even OS/2 called it COMMAND PROMPT (CMD.EXE) ..
0
Response Number 5
Name: Mechanix2Go Date: January 14, 2007 at 11:23:59 Pacific
Reply:
orbital is probably the only one who never gets tired of his drivel.
Although there is no DOS in NT, many DOS utilities work thanks to 'OS support' built into NT. [surprise]
In this case you can use the AT command built into NT. Syntax 'help' is available with AT /?
As jboy says, use "" to enclose paths/names with spaces/mystery chars.
===================================== If at first you don't succeed, you're about average.
Summary: 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 1...
Summary: Yes, you can make a Scheduled Task that will run a batch file. First, you'll have to make the batch file. This will copy the file from its existing folder to another. The layout should be something li...
Summary: I have a batch file that runs each night and it creates a file named dbcc_out.txt I would like for the batch file to copy dbcc_out.txt and rename it dbcc_out.txt.<system date>. I need to know how ...