By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!How about the INPUT command with the /W switch?Well, want to vary what happens to pc on startup based on whether human is there using it or not. John
l:\projects\4sysutils\release> help _lastinput
milliseconds since last input
l:\projects\4sysutils\release> do forever ( echo %_lastinput & delay 1)
16
999
2013
3027
4041
5055
6069
7083
This thread may be of interest.Oh come on - it isn't a philosophy q - I just want a way to detect whether someone has typed a command from startup onwards. So a flag that says 'someone has typed a command'. I'd thought of using %_cmdline somehow.
j