Guest Hassan Posted December 18, 2007 Posted December 18, 2007 If i say Set age = 7 and then call it by %age%, whats the command to view the value in the variable ? I tried "echo %age%" and it did not work ..
Guest Pegasus \(MVP\) Posted December 18, 2007 Posted December 18, 2007 Re: whats in a variable "Hassan" <hassan@test.com> wrote in message news:O0RpcHUQIHA.2268@TK2MSFTNGP02.phx.gbl... > If i say > Set age = 7 > and then call it by %age%, > whats the command to view the value in the variable ? > > I tried "echo %age%" and it did not work .. Yes, it does work. However, your variable name is not "%age%" - it is "%age %"! You need to be a lot more careful with your spaces. Try this instead: set age=7
Recommended Posts