Special Characters in batch file Help Reques

Microsoft Windows xp pro with sp3 multil...
February 5, 2010 at 14:01:11
Specs: Windows XP
Hello i am atm working on a simple loading screen... my code so far is:

@echo off
set num=0
:start
cls
set /a num +=1
echo %num% %
ping localhost -n 1 >nul
if %num%==100 goto done
goto start
:done
echo Loading complete!!!
pause

my problem appears at line 6 "echo %num% %" because the % wont appear in the console window... i have tried to do: "echo %num% ^%" but this wont work as well i've also tried echo "........" still no luck so i hoped that some one could have an idear about happends for thisfor yet i cant handle these special chars my self... if any one got and idear plz tell me TY


See More: Special Characters in batch file Help Reques

Report •


#1
February 5, 2010 at 14:07:55
echo %num% %%

Report •

#2
February 5, 2010 at 17:58:14
TY ALOT :D i really though ^ could do it like it does on alot other special chars but this works perfect TY alot for the fast responde :D

Report •

Related Solutions


Ask Question