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

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    Ralph8143
    Member
    #156244

    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
    beforeMsi.exe
    :: 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

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

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.