| I have a folder called "My Documents" but typing 'CD "My
| Documents"', with Extended Directory Search enabled, fails to find
| it. Is this to be expected? I have run 'CDD /S' to index the drives.
| I am running Windows 7 with the latest version of Take Command.
The problem is that CD and CDD work on directories, while "My Documents" is
a FOLDER. IN the MS Windows world, a FOLDER is a symbolic name ("alias") to
a real directory created by the file system. In particular, all of the "My
..." folder names are dynamically assigned to the real directories when you
log in. This allows each of the users of the computer to have their own,
private folders, to which they can refer with the common phrase. This is
like you and I both saying "I am at home", yet meaning two different
locations. But don't despair - look at the variable function @SHFOLDER - it
can provide the true names of nearly every "folder". Youcan create a simple
TakeCommand alias:
alias MyHome=`*cdd %@shfolder[5]`
and voila! You now have a command, MyHome to do what you want. BTW, the
capitalization is for recognizability, TCMD ignores case in all but a very
few cases (all related to processing strings).
--
HTH, Steve