avr3 Posted August 6, 2004 Posted August 6, 2004 Hello, I have tried and to make to execute RunOnceEx from dvd, here the script:IF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:REG ADD %KEY%\020 /V 1 /D "%CDROM%\install\js56nit.exe /Q:A /R:N" /fREG ADD %KEY%\020 /V 1 /D "%DVDROM%\install\js56nit.exe /Q:A /R:N" /fit is from CDROM that give DVDROM do not work..................Thanks to anyone can help meAvr3
WwTIPPYwW Posted August 6, 2004 Posted August 6, 2004 you didn't define %DVDROM% the %cdrom% is just a name - you can call it whatever you want:IF EXISTS d:\cd.txt set WHATEVER=D: and then you've got %WHATEVER%so don't try and call it %DVDROM% - just stick with %CDROM% - or change all to %DVDROM%
mazin Posted August 6, 2004 Posted August 6, 2004 WwTIPPYwW is completely right. Even %avr3DVD% should work, too. This is because you've already commanded the shell to SET it, i.e., MAKE it so.SET command instructs the shell to work for waht you want it to.
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