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?
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?
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 ..
Summary: Hi when I run this command in nt4 dos; copy f:\issued\1760\96CX03289*.* I:\craig\1760-01\3-42600-DE-54408-0051*.* The dos window tells me it has copied two files 96cx03289f1.txt and 96cx03289f2.txt, b...
Summary: First, get the current date into a variable without separators, so it can be used as part of a filename: FAQ #02 - Get date into a variable without separators Then, use the variable, let's say %DATE%,...
Summary: Parity......8 bits to a bite. Actually there are 9. .....1 for"parity" Parity is just in case some thing goes wrong. If the fail safe fails.......then yes you need to do some clean up. Not a techy.......