1.

Solve : Access path and Variable?

Answer»

To the beginning of each ONE of my scripts, I would like to return in variables such as %a, %b... the access paths which I use in my script in order to facilitate the possible moving of my script.
How then I to make?
I try to WRITE %a=D/.../..
And to replace D/../.. in my script by %a
but it does not seem to go...
what could I do?Variable name primer:

Code: [Select]
%0 thru %9
exists in batch files as command line parameters

%a thru %z and %A thru %Z
yes they are different! exist only WITHIN an active FOR
statement at the command line

%%a thru %%z and %%A thru %%Z
exists within an active FOR statement within a batch file

%variablename%
exists as the RESULT of a SET statement


Pick your poison.



Discussion

No Comment Found