Ducati
September 27th, 2005, 06:32 PM
I would like to know how to do this in dos by creating a batch file:
Moving files from a directory to another directory and deleting the old direcotry and not echoing any commands.
Thanks.
Shuja Ali
September 27th, 2005, 06:54 PM
I would like to know how to do this in dos by creating a batch file:
Moving files from a directory to another directory and deleting the old direcotry and not echoing any commands.
Thanks.
Use @ECHO OFF in the begining of the batch file. This will not echo any commands.
Use copy/xcopy to copy the contents of one directory into another and del to delete the files
PeejAvery
September 27th, 2005, 08:55 PM
@echo off
cd \test\source
copy *.* c:\test\dest
del *.* /q
cd\
rd c:\test\source