My script is as below
Set A=1
echo %time% "Outside Procedure"
sleep 2
if %A% NEQ 0 (
echo %time% "inside procedure"
sleep 2
echo %time% "inside procedure"
)
Time command inside IF condition gets the same time instead of 2 second different. How to overcome this inside IF statement?
Pls Advice,
Krishnarao.