i cant think A blog belong to Mohammad Azwan bin Ali. Most of his writings are about his real life story, ideas, thoughts, moderate political views, computer, programming, tips & tricks, particularly in Linux…. and of course it includes some random unspecified crappy stuffs too! Don't forget to check Movies and Junkyard pages out!

windows persistens subst

if you have a habit to dump everything in desktop like me, it must be messy and annoying for you to manage them especially when using cmd-prompt because the path is so long.
to prevent this we can use subst to associate the path to drive letter but, the problem is it's not permanent.
so here's a trick to make it permanent every time you restart your pc

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"Z:"="\\??\\C:\Documents and Settings\novatech\Desktop\programming"

you can change Z: and C:\Documents and Settings\novatech\Desktop\programming path to suit yourself
good luck


No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment

:D [angely] [argh] [blindfold] [color] [cry] [bye] [cutie] [dance] [flirt] [ghost] [thumb] >_< hmmm more »