Astalavista Posted January 18, 2005 Share 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 Link to comment Share on other sites More sharing options...
Astalavista Posted January 18, 2005 Author Share Posted January 18, 2005 This happens when Drive E does not hv a cd in it. If there is a cd no errors. Link to comment Share on other sites More sharing options...
bart of borg Posted February 4, 2005 Share 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.... Link to comment Share on other sites More sharing options...
bart of borg Posted February 6, 2005 Share Posted February 6, 2005 bump....I see alot of people have read this but still no answers? Has anyone else noticed this problem? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 7, 2005 Share 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. Link to comment Share on other sites More sharing options...
Astalavista Posted February 7, 2005 Author Share Posted February 7, 2005 pls highlight which % you are talking about thanks! Link to comment Share on other sites More sharing options...
bart of borg Posted February 7, 2005 Share 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? Link to comment Share on other sites More sharing options...
Astalavista Posted February 7, 2005 Author Share Posted February 7, 2005 I can't remember what i edited before. I got the idea from britishbulldog. Link to comment Share on other sites More sharing options...
BritishBulldog Posted February 17, 2005 Share 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 Link to comment Share on other sites More sharing options...
Astalavista Posted February 17, 2005 Author Share Posted February 17, 2005 your alive! long time no see BB what happen to you long absence Link to comment Share on other sites More sharing options...
Swimming_Bird Posted February 17, 2005 Share Posted February 17, 2005 CDROM=%%d @ asta you are missing that % key Link to comment Share on other sites More sharing options...
hasi001 Posted February 18, 2005 Share 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 ? Link to comment Share on other sites More sharing options...
Astalavista Posted February 18, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
Martin Zugec Posted February 18, 2005 Share Posted February 18, 2005 WMI, WMI, WMI Why not? Link to comment Share on other sites More sharing options...
hasi001 Posted February 18, 2005 Share 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 !). Link to comment Share on other sites More sharing options...
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