Astalavista Posted January 18, 2005 Posted January 18, 2005 whats up with the errors? I hv to hit cancel until it hits G where my cdrom is located for it to begin wpi.hta
Astalavista Posted January 18, 2005 Author Posted January 18, 2005 This happens when Drive E does not hv a cd in it. If there is a cd no errors.
bart of borg Posted February 4, 2005 Posted February 4, 2005 I have the same thing happening......is there a fix or an explanation? I don't want to have to have the DVD\CD trays all full to avoid this....
bart of borg Posted February 6, 2005 Posted February 6, 2005 bump....I see alot of people have read this but still no answers? Has anyone else noticed this problem?
Kelsenellenelvian Posted February 7, 2005 Posted February 7, 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:\wpi.icon set CDROM=%%i:echo Found CD-Rom as drive %CDROM%This is what I use and usually have my disk in a lower drive without the other drives having crap in them.Notice that i have one more % try this it is the only thing I can think of.**** I just got the same prob.
Astalavista Posted February 7, 2005 Author Posted February 7, 2005 pls highlight which % you are talking about thanks!
bart of borg Posted February 7, 2005 Posted February 7, 2005 I'll try yours although I doubt it will work....it looks the same to me.....Asta, Did you remember anything yet on how you fixed this?
Astalavista Posted February 7, 2005 Author Posted February 7, 2005 I can't remember what i edited before. I got the idea from britishbulldog.
BritishBulldog Posted February 17, 2005 Posted February 17, 2005 Hi guysI use this and get no errorsFOR %%d IN (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 %%d\win51 SET CDROM=%%d
Astalavista Posted February 17, 2005 Author Posted February 17, 2005 your alive! long time no see BB what happen to you long absence
Swimming_Bird Posted February 17, 2005 Posted February 17, 2005 CDROM=%%d @ asta you are missing that % key
hasi001 Posted February 18, 2005 Posted February 18, 2005 Hi guys.Try the following 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: ( if exist %i:\WIN51 set CDROM=%i: )If you run directly form command prompt use only 1 % sign.In a batch script (.bat, .cmd) you'll have to use 2 % signs.Replace WIN51 with the file name you're looking for.This script first looks, If a drive letter exists and only checks for a file, if it does. Works fine on my machine.A simple tryout: Open a command prompt and execute this:if exist Z:\ (echo yes) else (echo no)replace Z with any other drive letter. For CD-ROMS the answer is yes, if a media in inserted and no, if the dirve letter exists, but no media is found. Try it for you CD-Rom drive letters. Do you get an answer (yes/no) or do you get the error message ?
Astalavista Posted February 18, 2005 Author Posted February 18, 2005 it would be nice hasi if u could make some sort of guide on explanationabout the variables of your wpi.cmdu should make a wpi.cmd for guiRunOnce and one to be run by RunonceEX.cmd via cdrom.it would really help most of us.
hasi001 Posted February 18, 2005 Posted February 18, 2005 @SoulinTought about you comment. Can't see any solution. Any sense in there ? Or are you just trying to get your third star, spamming around in the forum ? Well - you're welcome. Give an explaination of yout thoughts (1 post more !).
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now