Computing.Net > Forums > Disk Operating System > Copy one file to another

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.

Copy one file to another

Reply to Message Icon

Name: Lyle Jr.
Date: December 14, 2000 at 13:43:21 Pacific
Comment:

Hey everyone,

Could anyone tell me how I can delete a file, use that file name and copy it to another?

This may be simple to alot of you, but this is the first time that I am writing batch scripts.

Thanks in advance



Sponsored Link
Ads by Google

Response Number 1
Name: DoOMsdAY
Date: December 14, 2000 at 14:09:24 Pacific
Reply:

Hmmm...do you know the names of any of the files you are going to be dealing with at the start? Or is this more dynamic than that?


0

Response Number 2
Name: ¤¤¥¤Ö
Date: December 14, 2000 at 15:36:54 Pacific
Reply:

del filea
ren fileb filea


0

Response Number 3
Name: name
Date: December 15, 2000 at 16:41:40 Pacific
Reply:

Or, if you want to "play is safe" in case you do something bad, copy the files you THINK you want to delete into a folder (directory) at least temporarily, and then, what he said above. "delete" the files you want to delete, the "rename" the files you want to those (or whatever) names you want


0

Sponsored Link
Ads by Google
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: Copy one file to another

Append one file to another www.computing.net/answers/dos/append-one-file-to-another/13591.html

copy file to another pc with dos www.computing.net/answers/dos/copy-file-to-another-pc-with-dos/12720.html

copying one hard drive to another www.computing.net/answers/dos/copying-one-hard-drive-to-another/10719.html