Computing.Net > Forums > Disk Operating System > batchfile copy+rename+overwrite?

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.

batchfile copy+rename+overwrite?

Reply to Message Icon

Name: DanF1
Date: September 26, 2003 at 11:05:18 Pacific
OS: xp
CPU/Ram: athl950/256
Comment:

Hello, I have very little dos batch knowledge, Im looking for a batch file (or info to help me create one) that will:

take a "random" .wav file from directory1 and rename it (with overwrite) as 'FileName.wav' into directory2. Is this possible without losing the files from directory1?

Thanks in advance for any help,
Dan



Sponsored Link
Ads by Google

Response Number 1
Name: Miskva
Date: October 3, 2003 at 02:27:07 Pacific
Reply:

Yes, this should be possible. It depends what files are located in dir2 .. If dir1 is the source, and dir2 only some directory where you store copies of files in dir1 .. you cannot lose files that way ... ?

The hardest thing however, will be the "random" file selection .. It can be done, but that is not easy ..

Miskva


0
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: batchfile copy+rename+overwrite?

copy & renaming w/wildcards www.computing.net/answers/dos/copy-amp-renaming-wwildcards/11808.html

move and rename a file www.computing.net/answers/dos/move-and-rename-a-file-/12915.html

Dos error message www.computing.net/answers/dos/dos-error-message/8033.html