copy directory through bat file

November 16, 2009 at 02:26:37
Specs: Windows XP
I need to make backup folder through bat file

See More: copy directory through bat file

Report •

November 16, 2009 at 07:32:45
I would use xcopy. Something like the following:

xcopy [source] [target]

You'll want to have a close look at the options available to the xcopy command and can do so in a command prompt window by typing:

xcopy /?

I suspect you will want to use some of them so have a close look and do some tests before writing your batchfile.

Alternatively, you could use the Windows ntbackup if you're using XP Pro. Unfortunately, ntbackup isn't available in XP Home.

Report •
Related Solutions

Ask Question