Windows Vista Forums

VBS associated to Notepad problem

  1. #1


    Join Date : Apr 2008
    Posts : 4
    Vista Home Premium and Business
    Local Time: 13:47

    VBS associated to Notepad problem

    Hi,

    Whenever i try to open any .vbs file it opens notepad and dose not run the script. Has anyone got any ideas?

    Many Thanks

    jjohall2000

      My System SpecsSystem Spec

  2. #2
    Brink's Avatar

    Join Date : Apr 2007
    Texas, USA
    Posts : 31,451
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 06:47
    usa us oklahoma

     

    Re: VBS associated to Notepad problem

    Hello JJohall,

    The VBS association got associated to Notepad, usually accidentally with the Open With option. You will just need to change the Current Default program for the .vbs file extension (Name) to C:\Windows\System32\wscript.exe (Microsoft Windows Based Script Host) instead of Notepad. Method Two in this tutorial will show you how to if needed.

    Default Programs

    Hope this helps,
    Shawn

      My System SpecsSystem Spec

  3. #3


    Join Date : Apr 2008
    Posts : 4
    Vista Home Premium and Business
    Local Time: 13:47


      Thread Starter

    Re: VBS associated to Notepad problem

    Hi Shawn,

    Thanks for your help, this seemed to work. I did try to change the association to many things such as cmd.exe and so on, i did no know there was a wscript.exe . I was woundering if it was an sp1 issue becasue it was doing the same thing on my laptop. Amy way i have got it working now, thanks for your help, again!!!

    Many Thanks

    jjohall2000

      My System SpecsSystem Spec

  4. #4
    Brink's Avatar

    Join Date : Apr 2007
    Texas, USA
    Posts : 31,451
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 06:47
    usa us oklahoma

     

    Re: VBS associated to Notepad problem

    Your welcome JJohall. I'm happy to hear it is working now for you. I would not think that SP1 would have affected it. It could have happened easily if the Open With was used on it with Notebook selected at one point since it would have originally began as a TXT file before renamed with the VBS extension.

    Shawn

      My System SpecsSystem Spec

VBS associated to Notepad problem

Similar Threads
Thread Forum
NotePad
I need to have the time of created and accessed of my notepad documents show up with seconds and not just minutes. Anyone know how to do this. It...
.NET General
Notepad where is it?
Hi I did a scan with Malwarebytes and there was 1 infection that I deleted But it made a report using Notepad, I tried to find it in personal...
Vista General
problem with notepad...
i have a problem with my vista,when i click right button no appearance new - text document,how i can repair this problem?
General Discussion
Problem with Notepad of all things
Suddenly when I try to open notepad, I get an error window saying: Notepad has stopped working. A problem caused the program to stop working. ...
Vista General
notepad
Keep getting "parameters incorrect" when trying to print from note pad. Am running Vista and using Epson C60 with latest driver update
Vista print fax & scan
Notepad
When I open Notepad the full minimized window does not open. The bottom boarder meets the title bar. I click on maximize and the window opens full...
Vista General
Problem with Notepad
For some reason, my Notepad is no longer usable except when maximized to full screen. When it is maximized, all of the menu items work. When it is...
Vista General