Google Grupper har inte längre stöd för nya Usenet-inlägg eller -prenumerationer. Historiskt innehåll förblir synligt.
Dismiss

Choice.exe

0 visningar
Hoppa till det första olästa meddelandet

Ray at <%=sLocation%>

oläst,
25 sep. 2003 12:57:402003-09-25
till
As in this?
CHOICE [/C[:]choices] [/N] [/S] [/T[:]c,nn] [text]

/C[:]choices Specifies allowable keys. Default is YN
/N Do not display choices and ? at end of prompt string.
/S Treat choice keys as case sensitive.
/T[:]c,nn Default choice to c after nn seconds
text Prompt string to display

ERRORLEVEL is set to offset of key user presses in choices.

Ray at work

"John" <john.f...@hp.com> wrote in message
news:05e701c38385$a349d600$a101...@phx.gbl...
> There used to be a command for win95 called choice, just
> wondering if their is a win2k equivelant?
>
> Cheers,
>
> john


JohnF

oläst,
25 sep. 2003 13:26:372003-09-25
till
YES!

My win2kpro system says it is an unknown command?

Do yuo know where I can get this file?

Cheers,

John

>.
>

Phil Robyn

oläst,
25 sep. 2003 13:35:572003-09-25
till
John wrote:

> There used to be a command for win95 called choice, just
> wondering if their is a win2k equivelant?
>
> Cheers,
>
> john

Yes, but it's in the Resource Kit.

--
Phil Robyn
Univ. of California, Berkeley

u n z i p m y a d d r e s s t o s e n d e - m a i l

Matthias Tacke

oläst,
25 sep. 2003 13:56:252003-09-25
till
Phil Robyn schrieb:

>John wrote:
>
>> There used to be a command for win95 called choice, just
>> wondering if their is a win2k equivelant?
>>
>> Cheers,
>>
>> john
>
>Yes, but it's in the Resource Kit.
>

But you can get it here
http://www.dynawell.com/reskit/microsoft/win2000/choice.zip

hth
Matthias

Mark V

oläst,
25 sep. 2003 14:46:562003-09-25
till
Matthias Tacke wrote in news:bkva86$5ce$00$1...@news.t-online.com:

But be aware that CHOICE can fail if multiple instances are running
on W2K.

SET /?
for other User Input command option.


Ray at <%=sLocation%>

oläst,
25 sep. 2003 15:47:162003-09-25
till
Sorry JohnF. I didn't realize that. I tried it on my test 2000 server, and
I had forgotten that I installed it on there.

Ray at work

"Phil Robyn" <zipp...@uclink.berkeley.edu> wrote in message
news:%238MiCr4...@TK2MSFTNGP09.phx.gbl...

Bill Stewart

oläst,
25 sep. 2003 17:54:532003-09-25
till
John <john.f...@hp.com> wrote:

> There used to be a command for win95 called choice, just wondering if
> their is a win2k equivelant?

You can try my getkey.exe. I like it better than choice because it doesn't
beep if you press an invalid key. Also, to my knowledge, running multiple
instances in different windows works just fine.

Also included is getvar.exe, which lets you read line input into an
environment variable.

http://home.comcast.net/~stewartb/getkv.html

HTH,

Bill


Clay Calvert

oläst,
25 sep. 2003 19:29:052003-09-25
till
On Thu, 25 Sep 2003 09:54:08 -0700, "John" <john.f...@hp.com>
wrote:

>There used to be a command for win95 called choice, just
>wondering if their is a win2k equivelant?
>

>Cheers,
>
>john

set /p Answer=Get user input.

The above works in Win2K and newer.

Clay Calvert
CCal...@Wanguru.com
Replace "W" with "L"

0 nya meddelanden