Monday, October 5, 2009

More Efficient with Subst

The SUBST.EXE command makes it possible to treat a directory as a drive. Therefore, a long directory name can be shorten to just a drive letter (C:, D:, E:, etc). For example, type this command at MS DOS prompt:

subst e: c:\data\2000\april\report

From now on, every time you want to open that folder, you only have to type cd e: . To find out all subst parameters type subst /? at the MS DOS command prompt.

No comments:

Post a Comment