Associate File Extensions With Specific Languages in Notepad++

If you use Notepad++ often, you may notice that it recognizes the type of file you open and provides nice synatx style for the language of the file. For example, it knows .js is a JavaScript file and .css is a CSS file. Each file type has its own unique style settings. There are a lot of these predefined file types, but what if Notepad++ doens’t support a file type you open often? If you want to make a custom file type use the same style of another type, just use the Style Configurator to define your own extensions.

Add Custom User Extensions

In Notepad++ navigate to Settings > Style Configurator…

Choose a language on the left side that you want your own extension to match (i.e. if I want .config files to style like XML then I’d choose XML). In the User ext. field near the bottom, enter in your custom user extension without the dot in front of it (e.g. config for *.config files). Now restart Notepad++ and it will map that new extension to the style you’ve chosen.


Enable the Administrator Account on the Vista Login Screen

By default, Windows Vista forces you to make your own admin account and use that at the login screen. You can, however, enable the built-in Administrator on the login. This is useful if you like to use that account (not recommended) or if you ever forget your password or get locked out of your own account. You must first be logged in as an admin to enable this so if you’re doing some risky tinkering and want a back-up plan to get back in, maybe enable this account. Just open the command prompt (Start > Run > “cmd” [enter]) and enter in the following line:

net user administrator /active:yes

If you ever feel the need to remove the Administrator account from the login screen, just run this command:

net user administrator /active:no


Avoid Transferring SVN/CVS Folders in FileZilla

If you use FileZilla as an FTP client and you use version control such as SVN or CVS, you may notice that you actually FTP those meta folders (“.svn” and “cvs”) along with your real data files. Those version control folders are not meant to be tranferred over with your real data and it can be a pain to delete all of them on the remote server. Not to mention, depending on who has access to the server, those files can give the user access to the repository and therefore they pose a security risk. FileZilla offers a really nice option to ignore those folder so you no longer even see them nor do you transfer them over with your files.

Directory Listing Filters

The key to fixing this issue is to go to View > Filename filters…

Just check the CVS and SVN directories option and FileZilla will no longer display those.


Copy Files at Blazing Speeds with TeraCopy

Have you ever had the tedious task of copying a friends music library or moving the entire contents of one hard drive to another? In pretty much any situation where you need to move or copy a lot of data you are burdened with a fair amount of wait time. Using Windows Explorer to move files around is quite a task and doing it on an OS like Vista can really use up your time.

Do yourself a favor and immediately download a copy of free TeraCopy. Get yourself the portable verison so you have this time saver anywhere you go. TeraCopy will move or copy files for you but at a much faster rate than Windows Explorer and it has many other additional features. TeraCopy integrates into the Explorer shell and even has a pause/resume copying feature.

Drag and Drop files to Copy

Step 1. Drag 'n Drop

Choose a Destinaion Location

Step 2. Browse for a Destination

That’s all there is to it — TeraCopy will copy the files to your destination and show a progress meter.


Force Windows Explorer to Retain Folder Customizations

Have you ever customized the sort order, view style (e.g. List, Small Icons) or windows size of a folder and had those settings vanish? Then you have to go back in and change them again only to have them randomly disappear in the near future.

This is a common problem I have with the sort order of my music folder. Sometimes I like the music to be sorted alphabetically (default); but sometimes I like to see the newest music and sort by Date modified. Unfortunately, just about every time I un-mount and re-mount my hard drive, my custom sort its gone. This is easily fixed by a simple little registry trick, so roll up your sleeves and open regedit (Start > Run > “regedit”).

Update the Registry

Once you’re in the Registry Editor navigate to:

Right-click on the right panel and choose New > DWORD Value

Give the new value the name BagMRU Size

Hit enter to save the name then double-click it and choose the Base as Decimal set the value to 10000.

Custom Sort Order