Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

[Script of Mar. 25] Script for resetting file association (VBScript)

$
0
0

Script Download: VBSFileAssociation.zip
http://gallery.technet.microsoft.com/scriptcenter/Script-for-resetting-file-103c5a89

This VBScript illustrates how to reset file association for a .doc file (It can be used for other file types as well with slight modification)

If we double click on a text file, it opens with Notepad by default whereas the desire application to open .txt would be Notepad++. For this we need to manually reset file association with a right click and selecting the option “Open with”. How about changing other file types (.cs, .cpp and so on) to be associated with Notepad++? This needs changing the file association for each and every file type which is not time efficient. We can use this VBScript to change file association for multiple file types.

imageimage
image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>