Kishiro Posted March 6, 2005 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.
Alanoll Posted March 6, 2005 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.
Vadikan Posted March 6, 2005 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now