P
Piotrek G.
Hi,
This is a simple linux command, which checks date and if it's Monday it
returns 'ok', otherwise it returns 'nok':
date |grep Mon && echo ok || echo nok
Could you please translate it into some windows script? It supposed to
be executed before user gets logged in. I think it should be quite easy
but I don't know windows scripting at all.
What's more, I'd like 'echo ok' (and 'echo nok') to be a windows command
(some 'net something...' command).
Thanks a lot!
This is a simple linux command, which checks date and if it's Monday it
returns 'ok', otherwise it returns 'nok':
date |grep Mon && echo ok || echo nok
Could you please translate it into some windows script? It supposed to
be executed before user gets logged in. I think it should be quite easy
but I don't know windows scripting at all.
What's more, I'd like 'echo ok' (and 'echo nok') to be a windows command
(some 'net something...' command).
Thanks a lot!