Cyberblizzard Posted April 1, 2005 Posted April 1, 2005 With the default Windows-installation my Windows hangs when I open a folder with avi-files. To prevent this I use 'avipurge.vbs' from Kelly's Corner, but I want to install that silently. Will it work this way?REG ADD %KEY%\080 /VE /D "Avipurge" /fREG ADD %KEY%\080 /V 1 /D "%CDROM%\Software\avipurge.vbs" /f
Takeshi Posted April 2, 2005 Posted April 2, 2005 Don't think it works like that. Reg.exe is a command that edits the registry. Your script will add avipurge.vbs as a value rather than executing the vbs.But why make it so complicated when all you need to do is to read the vbs, find out what key it edits and directly use reg.exe to do it. (If I remember it deletes the InproServer (?) key so you'd use REG DELETE.)Or add the key to delete in Regtweaks.reg.
maxXPsoft Posted April 2, 2005 Posted April 2, 2005 Sure they'll work with adding to Reg but more like thisREG ADD %KEY%\080 /V 1 /D "WScript.exe %CDROM%\Software\avipurge.vbs" /f
Cyberblizzard Posted April 2, 2005 Author Posted April 2, 2005 Ok thanks, I'll try. But where can I download wscript.exe?
natlegin Posted April 3, 2005 Posted April 3, 2005 the wscript is located inside the "C:\windows\system32" folder pls change the drive accordingly if you are using dualboot.
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