Results 1 to 8 of 8
  • Thread Tools
  1. 5 Star Lounger kmurdock's Avatar
    Join Date
    Feb 2003
    Location
    Pacific Grove, California, USA
    Posts
    648
    Thanks
    3
    Thanked 16 Times in 15 Posts

    Can't run vb script that I used to run (XP SP2)

    Don't know quite when this happened, so I don't know if this is the result of something I installed, something I did, or something Windows Update did.

    When I try to run a vbscript that restores my icons to the system tray, the script opens in Notepad instead. I had run this script without incident many times from my desktop. Notepad also intervenes when I try to open a graphic attachment from Outlook.

    Again, I don't know when this happened (other than the last three-four months, making a restore impractical). When I right-click the vb script, there is no Run item, and Open With lists Notepad, followed by Internet Explorer. Same is true when I right click a jpg -- Open With list is longer, but first (default) item is Notepad. Is this an attempt to save me from myself? Or is it something I did, in which case perhaps I need saving?

    Thanks, Kim <img src=/S/scratch.gif border=0 alt=scratch width=25 height=29>

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can't run vb script that I used to run (XP SP2

    Hi Kim

    Maybe you need to change the association that may have been taken over by another application or update

    1) Open 'My Computer'
    2) Tools | Folder Options
    3) Click 'File Types'
    4) Scroll down until you find VBScript Script file
    5) Highlight the entry and then 'Change'
    6) From the Programs it suggests, select Microsoft Windows Based Script Host
    7) Click OK

    That should do the the trick
    Jerry

  4. 5 Star Lounger kmurdock's Avatar
    Join Date
    Feb 2003
    Location
    Pacific Grove, California, USA
    Posts
    648
    Thanks
    3
    Thanked 16 Times in 15 Posts

    Re: Can't run vb script that I used to run (XP SP2

    Hi Jeeza,

    I've already tried this and unfortunately Windows Based Script Host is not listed in Programs.

    I now suspect that a utility program that I evaluated closed up this "security issue" for me. I think they did the same thing for me with the Outlook attachments. Nice, but I'm very careful about these things.

    But I'm still investigating. Thanks much for your thoughts.

    Best, Kim

  5. Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 13 Times in 13 Posts

    Re: Can't run vb script that I used to run (XP SP2

    The attached zip file contains a .reg file that should restore the default action of .vbs files.
    - Download the zip file.
    - Open the zip file.
    - Extract vbs1.reg.
    - Double click vbs1.reg, and confirm that you want to run it.
    - If you see a message box that vbs1.reg was succesfully imported into the registry, .vbs files should work "normally" again. <img src=/S/crossfingers.gif border=0 alt=crossfingers width=17 height=16>
    Attached Files Attached Files

  6. 5 Star Lounger kmurdock's Avatar
    Join Date
    Feb 2003
    Location
    Pacific Grove, California, USA
    Posts
    648
    Thanks
    3
    Thanked 16 Times in 15 Posts

    Re: Can't run vb script that I used to run (XP SP2

    Hans,

    You are a prince among men. However, guess what happens when I double-click on this file? It opens in Notepad. I suspect that the same security fixer-upper may have also fixed this.

    I can certainly find and adjust these items in the registry by hand. But then what do I do about reg updates? Is there a place in Windows to modify the policy for this? And the graphics files? I am the administrator on a PC on a small workgroup that I control.

    Thanks,
    Kim

  7. Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 13 Times in 13 Posts

    Re: Can't run vb script that I used to run (XP SP2

    Can you still run Regedit?
    - Select Start | Run...
    - Type regedit and press Enter.
    If you can, select File | Import..., point to the .reg file and click Open.
    If you can't, we'll have to think of something else.

  8. 5 Star Lounger kmurdock's Avatar
    Join Date
    Feb 2003
    Location
    Pacific Grove, California, USA
    Posts
    648
    Thanks
    3
    Thanked 16 Times in 15 Posts

    Re: Can't run vb script that I used to run (XP SP2

    Hans, that did it!

    The vb script now runs. Thank you! Now I'm only worried about what I don't know won't run... but I can always ask again.

    Thank you! <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15>
    Kim

  9. Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 13 Times in 13 Posts

    Re: Can't run vb script that I used to run (XP SP2

    For other file types that open in Notepad but shouldn't, you can try this:
    - Right-click the file.
    - Select Open With | Choose Program... from the popup menu.
    - If the appropriate program is listed, select it, tick the check box "Always use the selected program to open this kind of file" and click OK.
    - If the program is not listed, click Browse..., locate the program and click OK. This will add the program to the list. Proceed as above.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •