While having text makes the script easier to read and using the @shfolder
function at the command line requires knowing magic numbers, I would
suspect that most people that use that function use it with directory
aliases or buried within a batch file. That means you look up the number
you want in the help file, program it, and then forget about it.
The folders are named different things in different languages. So using a
number makes it work across all languages.
if %APPDATA or sendto is a folder I go to often, then it's easier to
define a directory alias and use that instead of remembering/typing all
the subtlies.
-Scott
dcantor <> wrote on 11/13/2009 07:24:34 PM:
> Quote:
>
> Originally Posted by Charles Dye [image removed]
> Code:
> alias sendto:=%@shfolder[9]\
> works for me.
>
> Well, sure, but I interpreted the original poster's request as using
sendto
> as an example. I suspect he wants to be able to find Desktop, Fonts,
> and the other special folders as well. My response was for the
> general case, but not quite complete, of course.
>
> In my .btm that I posted, replace the single occurrence of "%1" with
> "%$" without quotation marks.
>
>