- - PR -
%~$PATH:1 mystery
1
| 投稿者 | 投稿内容 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
投稿日時: 2001-08-11 04:48
suppose we have a PATH:
and there is a folder, say "FreeAmp", under "C:\Program Files" then the script:
fails
WHY? if FreeAmp.EXE in stead is used, everything goes dandy. | ||||||||||||
|
投稿日時: 2001-08-19 04:52
it turned out that
%~1 is space separated folder savvy, but %~$PATH:1 isn't. so we need old trick of "" protector: if "%~$PATH:1"=="" ... | ||||||||||||
1
