Since you want to copy and delete them.
Issue a move statement.
Main Topics
Browse All TopicsIm making a batch file, and I want it to copy some files without displaying the
"C:\files\being\copied.jpg
C:\more\Files\Being\Copied
and also I want to make it so that it deletes the files without displaying the Y/N Confirmation prompt. Ive already Did the "PIPE" | Y thing
but i remember there was a way of making a batch file so it can delete things without prompting at all (i believe)
maybe im wrong.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
As long as you don't want to change the name, MOVE is the way to go.
Rather than piping away, you may want to re-direct to a log file.
DOS 6.22 does recognize the /? option for its' commands, so double check with a
MOVE /? to see which options it may have for suppressing various prompts.
Later DOSes suppress some Y/N prompts when run from a BAT file, but I don't remember
if 6.22 does or not.
The only thing left to consider for a completely silent BAT file is the disposition of errors (stderr).
Although new DOSes let you re-direct stderr, I don't think 6.22 does. I do recall, however,
several utilities that will do that for you. I'll see what I can find.
This will let you re-direct stderr:
ftp://ftp.simtel.net/pub/s
I dont want to use move,
I have two seperate things i wanted to do.
because im making a lil program thing... and I want to copy files... (without displaying anything)
and then later on I will need to delete them, without displaying anything... althought the deletion things not such a big concern for me anymore since i figured out the piping command to automaticly say "Y" to the prompt.
I believe i looked at the help for copy, and didnt see anything much.
Business Accounts
Answer for Membership
by: BennypooPosted on 2003-08-04 at 15:26:07ID: 9074823
I need help SOON, if possible.