Need batch file code to replace filepath with cd-rom drive letter.

Posted by user361726 on Stack Overflow See other posts from Stack Overflow or by user361726
Published on 2010-06-08T19:16:39Z Indexed on 2010/06/08 19:22 UTC
Read the original article Hit count: 183

Filed under:

Here is the copy statement I have currently.

I am looking to replace the F: with %cdrom% so that this script will work no matter what computer it is used on.

XCOPY F:\*.* .\disk2\ /C /S /D /Y /I

© Stack Overflow or respective owner

Related posts about batch-file