Convert batch file into vbs

Home Forums Scripting Windows Script Host Convert batch file into vbs

This topic contains 0 replies, has 1 voice, and was last updated by Avatar Ralph8143 8 years, 5 months ago.

Viewing 1 post (of 1 total)
  • Author
  • Avatar

    I apologize, I’m still learning. I created this batch file which works perfectly for me, but I would like to make it a vbs script instead. Can anyone give me some starter tips? Here’s my batch file

    @echo OFF
    :: delims is a TAB followed by a space
    for /f “tokens=2* delims= ” %%a in (‘reg query HKU’) do (
    reg query %%asoftwareGoogleUpdateClients{8A69D345-D564-463c-AFF1-A69D9E530F96} /v pv
    set version=%%B)
    IF %version% EQU 13.0.782.220 goto add_reg

    reg add “HKLMSOFTWAREUSDA Forest ServiceInstallCheck” /v “Google Chrome” /d 13.0.782.220 /f


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.