That should work on all of your Windows boxes. Another option that I think will work everywhere for you is to specifically invoke the cmd.exe shell:system("time /t <nul");
Cheers,system("cmd /C time /t");
In reply to Re^2: Calling Windows "time /t" command
by syphilis
in thread Calling Windows "time /t" command
by JFarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |