March 6, 200521 yr 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.
March 6, 200521 yr 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.
March 6, 200521 yr 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.
Create an account or sign in to comment