What is difference in function. Cause my IR4 was hardcoded little but then Calistoga said maybe that is problem but I don't think so just want to clarify they both work. I used both and they both worked on my Ultimate 32 bit with C local drive
I'm saying that where C:\ was I put %SystemDrive% but it might have screwed it up cause no matter what C:IR5 always worked even if local drive was D or E So basically for IR5 3.2 only I made change cause calistoga.
I'm not looking for another envirnmental variable I could use testers for both .cmd files. Both work for me and MD would have changed it if it was problem but both .ahk and .bat IR4 work with semi-hardcoded
lol...I don't need advanced person just tester person ...lol Try the hard-coded first confirm then uninstall and try non-hard-coded confirm then uninstall and return to previous life scenarios
Remember to use Status option of which you'll see task and full rearm reset to 4 rearms 30 days unless you got SP1 then you'll get 5 rearms 30 days So really I'm only looking for full reset of rearms. That is the only thing that ever failed rarely and I want to see what non-hardcoding did to IR5 even though hardcoding always works with GUI IR4 3.1 And please state what OS and architecture you got Thanks
How bout this...lol Code: :RearmIR5 CLS schtasks /create /tn "IR5" /tr "'%SystemDrive%\Windows\system32\cmd.exe' /c cscript.exe /b %SystemDrive%\Windows\System32\slmgr.vbs /rearm && net stop sppsvc && net start sppsvc" /sc daily /mo 30 /ru "" /f >NUL cscript.exe /b %windir%\system32\slmgr.vbs /rearm if errorlevel==1 goto Next net stop sppsvc >NUL net start sppsvc >NUL echo Rearm completed successfully... ping -n 5 127.0.0.1 >nul GOTO Start :Next echo No rearms detected... You must reinstall IR5... ping -n 5 127.0.0.1 >nul GOTO Start
Anyone know how to check if entry exists in hosts file and can do error check regarding entry there or not? Thanks