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

(Very) Small Difference in Batch Parameters %* and %$

$
0
0
$* the complete command tail, unmodified by SHIFT
%$ the complete command tail, modified by SHIFT

We do not uses SHIFT very often so we mixed up these two parameters.

On one occasion its was fatal..

It is a minor issue with a very easy workaround.

[R:\] type SetPath.btm setlocal echo TCCVer=%@verinfo[%_cmdspec,Fileversion] OSBuild=%_OSBuildEx set path_to_added=C:\ ECHO. ECHOX %$ the complete command tail, modified by SHIFT ALIAS SETPATH=SET PATH=`C:\Windows;%$` SETPATH...

Read more

Viewing all articles
Browse latest Browse all 1678

Trending Articles