Jump to content

Batch command


Recommended Posts

Is it possible using a batch file to copy a folder from a cd, and put it on your hard drive? I know you can do this with a single file using the copy command, but I can't get it to work using a folder.

Would this work?

XCOPY /Y /e "D:\$OEM$\$Docs\All Users\Desktop\Snapshots" "%SystemDrive%\Snapshots\"

If I put %CDROM% where D: is, and I have my cd in another drive like the E, will the batch file work?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...