Make a batch file to copy and replace files

August 17, 2011 at 10:22:31
Specs: windows XP
Hello guys , who can help me i want to create a batch file , that copy files and delete from 1 map on the C:/ drive to another map on a specific location but also on the C:/ drive. for example

batch : delete files on C:\Program Files (x86)\QUADERA\........ and copy files from C:\desktop

and paste them in the C:\Program Files (x86)\QUADERA\........ anyone have a idea? thanks

See More: Make a batch file to copy and replace files

Report •

August 17, 2011 at 17:32:48
It actually is quite easy. Note that you will need to insert your information in the
bold text. Try something like this:

CD C:\"Program Files (x86)\"QUADERA"\
ECHO Y | DEL *.*
CD ..
CD ..
CD C:\Users\"Your User Name Here"\Desktop
COPY *.* C:\"Program Files (x86)"\"QUADERA"\

NOTE that you must leave the quotes in the code for the code to work.
Copy and paste the above code into Notepad and save it as YOURFILENAME.BAT.
Then run it and see if it works.

Mouse could not be found. Click OK to continue.
What to do now?

Report •
Related Solutions

Ask Question