I am trying to issue simple batch file scripts:
echo %1 set var = %1 echo %var%
When I run it in XP, it gives me the expected result, but when I run it in Vista or Windows 7, I get "Echo is On" when I try to print (echo).
Below is the output of the program:
G:\2012>abc.bat 1 G:\2012>echo 1 1 G:\2012>set var = 1 G:\2012>echo ECHO is on. G:\2012>
user1656253
source share