Jump to content

Recommended Posts

Posted

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" /f

REG ADD %KEY%\020 /V 1 /D "%DVDROM%\install\js56nit.exe /Q:A /R:N" /f

it is from CDROM that give DVDROM do not work..................

Thanks to anyone can help me

Avr3


Posted

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%

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...