VBS Prompts: how do I stop them?

snadge

Member
Member
Messages
40
I have a script running every minute via Task Scheduler that pulls stats from my router for plotting over time, every minute a pop up appears saying something like "How do you want too open this type of file VBS" with Windows Script Host" even though its set as default for VBS files??

does anyone know how I can prevent this message appearing?

funny thing is if I run the VBS file myself it works just fine?

code in script:

Code:
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\ADSL_stats\Scripts\HG612-getADSLstats.BAT" & Chr(34), 0
Set WshShell = Nothing

thanks
 

My Computer

System One

  • OS
    Windows 8.1 Pro x64
    Computer type
    PC/Desktop
    CPU
    Intel 3470 @ 3.67Ghz
    Motherboard
    Gigabyte H77
    Memory
    8Gb Crucial Ballistix Sport @ 1616Mhz 8-8-8
    Graphics Card(s)
    Gigabyte GTX650 @ 1.1Ghz
    Sound Card
    Via HD 7.1 108db SNR
    Monitor(s) Displays
    LG Flatron 19"
    Screen Resolution
    1440x900
    Hard Drives
    1 x 250Gb Samsung EVO 850 (520,500,90,000,0.44ms)
    500Gb Seagate HDD
    PSU
    XFX 450 Pro Core Edition
    Cooling
    Arctic Freezer Pro
    Keyboard
    wifi combo Q-Connect
    Internet Speed
    16Mbps
    Browser
    Chrome
    Antivirus
    Private Firewall + WinPatrol
Back
Top