Category Archives: computers

softlinks (symbolic links) and hardlinks in Windows

for the die hard unix and linux fans out there who appreciate the use of symbolic links and hard links, there’s actually a Windows equivalent out there. (then again, if you a die hard fan… you may not use windows much… but for those who do… keep reading…)

All these years, I thought the closest thing to symbolic links in Windows will be the shortcuts. However, In Vista and Windows 7 there is actually a good support for symbolic links and hard links. The command line utility to create/manage these links are not there by default however. One will need to download a package from Microsoft.

Now, I’ve discovered that someone has actually developed a Windows explorer shell extension to create/manage symbolic/hard links. You can download the freeware here.

I’ve downloaded and installed the utility called Link Shell Extension (LSE in short), and it works nicely for me. Mind you, I strongly encourage you to read through the online manual to understand how to use it effectively. It also has a good coverage on the pitfalls in the earlier version of Windows.

For the benefits of you who do not know what are symbolic/hard links, these are references to files and directories in your computers. There are many usage for these links, and the most common scenario is this….

Imagine you have a file located in c:usershellodocumentsdownloadsectionblahetcherethisfile.jpg

That is a very long reference to the file. To make things simple, you want the file to be available in c:directorythisfile.jpg but you need to keep a copy in the original location, and at the same time have c:directorythisfile.jpg as an exact copy. The traditional way is probably just to create a copy of the file, and anytime the original file is updated, we’ll just copy it again.

Now, imagine that we can create c:directorythisfile.jpg as a symbolic link to the original file. Access this symbolic link gives the exact same result as accessing the file directly. You can open, save, change the symbolic link just as if it’s a real file. And anytime the original file changes, you’ll get the update immediately. No need to copy the file over. In way, you save disk space as well, since there’s only one real copy of the file.

There’s a lot more to symbolic links and hard links, and you can easily find more information about them on the web.

Hope you’ll find this useful =)

how to make your Windows PC run faster?

I don’t know anyone who has a Windows computer that doesn’t come to a crawl after using it for about a year. The computer takes 5-10 mins, and in worse cases 20mins to boot up to a usable state.

This happens for several reasons, and one of the biggest reason is due to file fragmentation. The performance hit gets worse if your paging file (swap file) is fragmented as well.

Since nearly 2 years ago, I found a nice, free defragmentation utility on the web. Back then, it was known as JKDefrag. The idea was good and it worked by calling native Windows APIs. This means that the programmer leveraged a lot on Microsoft’s native functions to do the work. His utility just provided the brain and coordinate the whole activity.

This is a good design that the utility will not do anything out of Microsoft’s comfort zone. Meaning, all moving of the bits and pieces of the file is executed as safe as it gets. JKDefrag did not have to re-invent anything.

Now, a newer version has been released and I’ve used it. The utility has been renamed as MyDefrag (mydefrag.com) and it has a new feature. This introduces a new dimension to what JKDefrag did. MyDefrag will now optimize the files, in addition to just defragmentation.

The new optimization idea is great! It basically re-orders the files on the harddisk into zones, and depending on the type of the file, the frequency of access of the file, the files are organized into each zone. I will not go into the specifics here, so if you like to understand in greater details what is done, you may read up from the website.

I’ve installed and optimized on my desktop and 2 netbooks. The end result is phenomenal! I can actually feel that the boot up time of these computers are shorter, and general usage experience of the computers have improved.

For anyone who wants to squeeze more out of their computers, I would recommend trying this utility out.

This utility is free, and you have the freedom to make a donation to the author of the utility if you wish to. I’m in no way affiliated to this author, and I’m writing this just to share with you out there this great utility I’ve discovered.

So, if you do try out the utility, what you need to do after installation is to run “slow optimize” the very first time you use it. That basically does the initial job to re-order the entire harddisk. Be warned though, this can take a very very long time… on one of my netbooks, it took 2 days, and the other took only 3 hours. So it depends how much work needs to be done.

So, go forth and unleash some renewed performance to your computer 🙂

Are you getting MSN SPAM?

Have you ever received strange messages from your friends on MSN, but they are not really online?

The messages seems somewhat realistic, and often comes with a link for you to click on…. one example I received recently is as below

huhuhahahah thats YOU?!? LOL! :D:D:D http://xxxxx.My-Pictures–Downloads..com/?image=DSC07819.JPG

#1 rule – Don’t Click on It!!! never click on any URL you are not sure of. If you received a message with your friend being offline, it’s a really good chance it’s not from your friend. Clicking on it will likely get you into trouble with malware.

In fact, most of the times it’s actually a malware site that’s spamming you. So the question is, how did the spammer get hold of your friend’s account? There are at least 2 possible ways.

  1. your friend has a poor password used for the MSN account, a password which the spammers were able to “guess”. Most of the time this is true, not many people will have good passwords.
  2. your friend has used a computer that has a malware active, so when he/she logs in to MSN, the malware captures the password and sends it to the spammer

So, how do we combat this? Just a few simple tips should make these go away

  1. immediately advise your friend who’s account has been compromised to change the password to his/her MSN account
  2. if you know that your password is simple, change it as well (no it’s not that it’s now compromised, it’s to avoid it being compromised in a similar fashion)
  3. it’s good practice now to have passwords that mixes numbers and letters. To make it even better, throw in a punctuation. Of course the ultimate password will also contain the 3 components plus the letters are a mix of upper and lower cases, and the entire password is at least 8 characters long. So something like “BitE2mE89$” is great! and “coffeeforme” is really bad.
  4. make sure your computer has an up to date antivirus/malware installed. If you don’t want to pay for one, you can get a free version from AVG. Free, only if you are using it for personal use. For a business PC, you need to buy one.
  5. make sure your computer is patched (updated) regularly, if windows prompt you to update, run it. It often fix problems which antivirus/malware products cannot protect you from.
  6. Patching and having an antivirus/malware product complements each other, together they cover you better.

If you use facebook or twitter, earlier in August 2009, both these websites were hit badly. As a user to these sites, you’ll probably get strange looking webpages, or perhaps slow, or nothing worked. That is the consequence of hundreds of thousands of PCs not properly maintained and have malwares running on them. These PCs were under control via the malware to attack these services. So, for a good couple of weeks, facebook was not really usable. If all computers were properly maintained with the few simple steps above, we wouldn’t have any problem. It’ll be good for facebook and the rest of us.

If you have friends and family who you feel may not know these few basic and hugely important tips, do share these tips with them.

If you have any queries or comments, just drop in a message below or email me 🙂