Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1678

Sending filenames with directory aliases to external commands

$
0
0
@TRUENAME will help. Note that @TRUENAME quotes/unquotes filenames as necessary (and does not check for their existence)

I use several directory aliases. And I have the alias e=call u:\tpad.btm. The BTM creates files that don't exist (to avoid textpad's "Create...?" message box) but it did not (until today) handle directory aliases. Now it does. It's fairly simple.

Code:
REM TPAD.BTM
setlocal
set command=d:\textpad7\textpad.exe
do i=1 to %#
    set filename=%@truename[%[%i]]...

Read more

Viewing all articles
Browse latest Browse all 1678

Trending Articles