Changing directories at the command prompt can be a hit and miss process when long filenames are involved. This tip let you change directories with ease, not matter how long the directory name.
To change a directory quickly you can use wildcards, for example, to change to the 'C:\Program Files' directory simply type:
cd c:\prog*
Note: This will work in alphabetical order, therefore if you have two directories named 'c:\dir1' and 'c:\dir2' and you type cd dir*
, you will be moved to the 'c:\dir1' directory.
0 comments:
Post a Comment