I use Windows xp proffesionall with service pack 2.
Now , I've used these commands :
cmdow @ /HID @echo off for %%i in (C 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 %%i:\WIN51 set CDROM=%%i: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\005 /VE /D "winiso 5.3" /f REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Winiso\WINISO53_pmp4.exe /verysilent/SP-" /f REG ADD %KEY%\015 /VE /D "Daemon tools" /f REG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\Daemon tools\daemon.exe /qn /Reboot=Suppress" /f REG ADD %KEY%\025 /VE /D "Spykiller 2004" /f REG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\Spykiller2004\Spykiller2004.exe /verysilent" /f EXIT
This is my RunOnceEx.cmd and is still gives me the error :
- can't find \software\Winiso\WINISO53_pmp4.exe and does the same for all the other aplications.
When I've used :
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: IF EXIST T:\CD.txt set CDROM=T:
I got the same error, but I't looked like this :
- can't find D:\Software\Winiso\....
Does anybody knows what this means?? Where or what I done wrong.
Please tell me....
I have the win51 folder in the cd and the cd.txt. I really don't understand why doesn't it work. Help!!
ps : in the for %%i in (C 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 %%i:\WIN51 set CDROM=%%i: why isn't there a D in there? Shouldn't it be??



Help
Back to top









