Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: File-Associations .TXT and .VBS are the same ?

02 Apr 2016   #1

XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
File-Associations .TXT and .VBS are the same ?

For two years my .VBS file association was corrupted until recently I found Brink's Restore Default Windows 7 File Extension Type Associations
- but now I have a new problem with FileAssociations in .TXT and .VBS file types, they persist as a mirror of each other
I was/am very familiar with built-in FileAssociations tool in WinXP

Using Nirsoft's FileType Manager changes to either .TXT or .VBS file associations are automatically replicated in the other
(using F5 to refresh between my edits)

I am wanting ...
    Caption:  open
    Default:- Yes
    Command Line:-  C:\Programs2\Metapad36\metapad.exe %1
    Caption:  Edit
    Default: No
    Command Line:-  ~~ notepad.exe %1
VBS -> OPEN    
    Caption:  open
    Default:- Yes
    Command Line:-  C:\Windows\System32\wscript.exe %1
    Caption:  Edit
    Default:- No
    Command Line:-  ~~metapad.exe %1
When the default of either VBS or TXT is altered it automatically "swaps" the default in the other file-type
When I attempt to change "Open" in .VBS to ~wscript.exe ... the TXT open action is changed to ~wscript.exe

I have deleted all actions from .TXT (ie, removing C:\Windows\System32\wscript.exe %1 )
- created two new actions for .TXT
Open with Metapad.exe
Edit with Notepad.exe
... now VBS is a duplicate of .TXT "Open" action
C:\Windows\System32\wscript.exe %1 ... non existent

I have a critical script (VBS) that runs at startup -AND- a TXT file that opens at startup, but the current gremlin sabotages one or the other depending on FileAssociations actions last applied to either VBS or TXT file types

After 6+ hours of muttering at the monitor ... I am at my wits end.
Any help would be greatly appreciated :)

... some of the images I have taken of the problem
When TXT actions are a mirror of VBS actions

File-Associations .TXT and .VBS are the same ?-alert-after-vbs-fix.png

Nirsoft tool window after correcting VBS actions

File-Associations .TXT and .VBS are the same ?-txt-assoc-wrong.png

My System SpecsSystem Spec

 File-Associations .TXT and .VBS are the same ?

Thread Tools

Similar help and support threads
Thread Forum
File associations help!
My friend was messing around on my laptop and when I got it back everything was changed to iTunes. Although it says google chrome it shows an iTunes logo and will launch iTunes if clicked. This happened about six months ago. I tried for months to get it fixed but I ended up uninstalling iTunes so...
General Discussion
File Associations?
I was recently downloading a minecraft custom map when i messed up and opened with wordpad and changed how my files are saved i am sort of a noob with file associations and i am not understanding how to reset the windows 7 defaults i have read numerous threads and i don't understand. I do not want...
General Discussion
File associations
I'm running Win 7, home premium, 64 bit. I'm trying to set up file associations. I went to the control panel and opened file associations. The .xls file type (Excel) is not listed. Any idea how I would get it included? I got an .XLS file sent to me and I can't open it without saving it and opening...
General Discussion
file associations
I am experiencing a change in the way my PC works. If I do Start>Computer and then click on, say, my C: drive (but it happens for all drives) I get that darned message "The file does not have a program associated with it for performing this action....etc". If I right click and choose "open", then...
General Discussion
File associations WMP
Hi folks, first post here because I did a search for answer, but to no avail. Somehow or another when I setup WMP I wanted iTunes and quicktime to handle certain filetypes, and WMP to handle "windows only" file types, Not to mention Pro Tools to handle midi etc. Anyway, I can't seem to change...
Music, Pictures & Video

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 00:28.
Twitter Facebook Google+