Computing.Net > Forums > Windows 2000 > Copying & Renaming files at a prese

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

Reply to Message Icon

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.


George White



Sponsored Link
Ads by Google

Response Number 1
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.

M2



0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Copying & Renaming files at a prese

script to copy file in a directory www.computing.net/answers/windows-2000/script-to-copy-file-in-a-directory/51425.html

Auto copy file to a second folder www.computing.net/answers/windows-2000/auto-copy-file-to-a-second-folder/57345.html

Copying and Renaming w/System Date www.computing.net/answers/windows-2000/copying-and-renaming-wsystem-date/60630.html