lostwood Posted December 17, 2005 Posted December 17, 2005 I have hopped around the forum and have not found the answer to this question.I have created a batch file that will install all of the fixes for xp. I have multiple drives so my cd drive that I would use on this machine would be differnt then that of another machine. My question is.. How do I set up my batch file to find the file no matter what drive letter the cd is in. I have tried taking out the drive designation but that don't work and currently nothing else logical pops in to my mind. any help would be appreciated.Oh and MERRY CHRISTMAS!!!
The Black Cloud Posted December 17, 2005 Posted December 17, 2005 for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\WIN51 set CDROM=%%i:change the WIN51 to any file name in the CD-Rom
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now