News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Too lazy to type the full directory name

Started by charleychacko, October 15, 2006, 11:36:47 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

charleychacko

Did you know that you can avoid typing full directory names when changing directories from the Command Prompt?

Let's say you have a directory named MyNewYorkOfficeFilesFolder that you want to changed to. Instead of typing:

CD MyNewYorkOfficeFilesFolder

next time try:

CD myn*

If you have multiple directories starting with the letters "myn" then you'd have to use more characters before the *, until the name can be distinguished from the rest of the directory names in the current directory.

If you have multiple directories to change to such as:

MyNewYorkOfficeFilesFolder\AGroup\Outbox

you can use:

CD myn*\a*\o*