Thanatos wrote in news:#(E-Mail Removed):
>
> "Bill Stewart" <(E-Mail Removed)_spam.com> wrote in message
> news:#(E-Mail Removed)...
>> Thanatos <(E-Mail Removed)> wrote:
>>
>> > I need to run a batch file at startup that will display a
>> > prompt for 1 minute, then close. I've made the script wait by
[ ]
>
> Sorry, i don't think you understood me. I'd like to have a batch
> file run, that displays a prompt for two minutes where the user
> can type commands, but the window must close after two minutes.
> With sleep.exe, the script waits, but does not display a prompt.
...
START "SPECIAL_$" CMD.EXE /k
ping -n 121 127.0.0.1 <nul
<path>\cmdow.exe SPECIAL_$ /CLS
...
Requires CMDOW.EXE
http://www.commandline.co.uk/
(Thanks Richie!)
I can imagine using TLIST.EXE, FIND.EXE and KILL.EXE along with batch
but won't bother as above will do it easily.