Windows Vista Forums

VBS associated to Notepad problem

  1. #1



    Newbie
    Join Date : Apr 2008
    Posts : 4
    Vista Home Premium and Business
    Local Time: 11:27 AM

    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.   


  3. #2
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,261
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 05:27 AM
    usa us texas

     

    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

  4. #3



    Newbie
    Join Date : Apr 2008
    Posts : 4
    Vista Home Premium and Business
    Local Time: 11:27 AM


      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

  5. #4
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,261
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 05:27 AM
    usa us texas

     

    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++ 5.5.0 Available Software
problem with notepad... General Discussion
Problem with Notepad of all things Vista General
Problem with Notepad Vista General