C
Csaba Gabor
Is there any way I can temporarily suppress the bell?
Motivation:
If I want to schedule a task with schtasks, then I might enter
something like:
schtasks /Create /RU Gabor /SC Once /SD 01/20/2006 /ST 12:13:14 /TN
test /TR "dir"
Then there will be a loud bell and the text:
Please enter the run as password for Gabor:
Now this is all well and good and I can avoid this bell and text by
placing /RP "password" onto the calling line, but when I was first
working it out, I was piping in that password (echo password|...) and
it was all working fine except that you could hear the bell even though
the Cmd window under the automation never appeared. So this question
is left over from my development process.
By the way, it is possible to insert double quotes within the /TR
arguments by escaping them with a backslash (I've inserted nested
levels on my Win XP Pro system).
Regards,
Csaba Gabor from Vienna
Motivation:
If I want to schedule a task with schtasks, then I might enter
something like:
schtasks /Create /RU Gabor /SC Once /SD 01/20/2006 /ST 12:13:14 /TN
test /TR "dir"
Then there will be a loud bell and the text:
Please enter the run as password for Gabor:
Now this is all well and good and I can avoid this bell and text by
placing /RP "password" onto the calling line, but when I was first
working it out, I was piping in that password (echo password|...) and
it was all working fine except that you could hear the bell even though
the Cmd window under the automation never appeared. So this question
is left over from my development process.
By the way, it is possible to insert double quotes within the /TR
arguments by escaping them with a backslash (I've inserted nested
levels on my Win XP Pro system).
Regards,
Csaba Gabor from Vienna