J
jaime richmond
im looking for a way to capture the current date in a batch file change the
pc date run an older non 2k program and then change it back when finished.
i had a program that worked great in win98 but doesnt seem to work in win2k
any ideas.
@echo off
echo @prompt if '%%%%2==' %%%%0 $D$_date %%%%2 > %temp%.\~tmpA.bat
%comspec% /e:2048 /c %temp%.\~tmpA.bat > %temp%.\~tmpB.bat
date 12/31/99
start /w pos.exe % Just in case it's a Win32 prog %
for %%v in (%temp%.\~tmpB.bat del) do call %%v %temp%.\~tmp?.bat
pc date run an older non 2k program and then change it back when finished.
i had a program that worked great in win98 but doesnt seem to work in win2k
any ideas.
@echo off
echo @prompt if '%%%%2==' %%%%0 $D$_date %%%%2 > %temp%.\~tmpA.bat
%comspec% /e:2048 /c %temp%.\~tmpA.bat > %temp%.\~tmpB.bat
date 12/31/99
start /w pos.exe % Just in case it's a Win32 prog %
for %%v in (%temp%.\~tmpB.bat del) do call %%v %temp%.\~tmp?.bat