CDROM Drive letter from Batchfile - TechRepublic
General discussion
April 3, 2002 at 08:39 AM
degthat

CDROM Drive letter from Batchfile

by degthat . Updated 23 years, 11 months ago

I am try to launch a batch file from an autoplay CD. The batch file resides on the root of the cd. It creates the diretory I asked for but it says it can’t find the files I want to copy. Here is what I have…..

ECHO ON

PATH=%CDROM%\:
pause

xcopy \files\*.* C:\EA-6B\

ATTRIB -R c:\EA-6B\*.*

What am I doing wrong ? Or better yet how do I get this to work ?

This discussion is locked

All Comments