Jump to content

Unattended Vbs-script


Recommended Posts

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

REG ADD %KEY%\080 /V 1 /D "%CDROM%\Software\avipurge.vbs" /f

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

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...