evilvoice Posted March 6, 2005 Share Posted March 6, 2005 deleted Link to comment Share on other sites More sharing options...
Kishiro Posted March 6, 2005 Share Posted March 6, 2005 If you know that the memory reader always get the same drive-letter during install, just submit that drive-letter from your batch-file.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 whateveryouwanttodoFor instance, if the drive-letter is "d:" , just remove "d:" from the above code. Link to comment Share on other sites More sharing options...
evilvoice Posted March 6, 2005 Author Share Posted March 6, 2005 deleted Link to comment Share on other sites More sharing options...
Alanoll Posted March 6, 2005 Share Posted March 6, 2005 you could solve it simply by having them put in a card...Another option is to use the "SetupSourcePath" registry entry. If I get time later I'll do a search, but there has been code posted on it. Link to comment Share on other sites More sharing options...
evilvoice Posted March 6, 2005 Author Share Posted March 6, 2005 deleted Link to comment Share on other sites More sharing options...
Vadikan Posted March 6, 2005 Share Posted March 6, 2005 What if you use SET CDROM=%~d0That way you don't check all drive letters for the marker file. This command must be executed from a batch file on the CD. I mean it'll assign the %CDROM% variable to the drive it's launched from. 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