cd %temp% echo.|date>datevar.bat echo.|time>timevar.bat echo set DATEvar=%%4>current.bat call datevar echo set DAYvar=%%3>current.bat call datevar echo set TIMEvar=%%3>current.bat call timevar echo %DAYvar% echo %DATEvar% echo %TIMEvar%
You need to create an account or log in to post comments to this site.