use of " % "

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

when a word or phrase is enclosed by percent marks, e.g " %winver% " what is
the purpose of the per cent marks - are they acting as quotation marks, or
what ?
Thanx - J.
 
"I agree that you have to be careful abou"
when a word or phrase is enclosed by percent marks, e.g " %winver% "
what is
the purpose of the per cent marks - are they acting as quotation
marks, or
what ?
Thanx - J.


They delimit environment variables. At a DOS prompt, run:

echo %path%

to see the value of your PATH environment variable, for example. Run:

echo %userprofile%

to see the path to your account profile. You could also enter
%userprofile% in an address bar (in Explorer, for example) to open a
window to that path. Doesn't sound like you grew up with DOS and then
went to Windows but just started out with the GUI and why you don't know
DOS or environment variables. A dummies book on DOS would help you plus
give you some basics that are still viable under Windows.
 
Back
Top