CHOICE command

G

Gary D.

In XP Home, when I run a DOS .bat file I get the message -
'Choice' is not recognized as an internal or external command,
operable program or batch file.

I am trying to use the command -
Choice /cb /t:b,10 /n > nul
to cause a pause for ten seconds.

Can anyone advise how to do this in XP, if it's even possible?
 
G

Gary D.

Choice isn't part of XP so ...... I don't get it. Use Set.

I'm not familiar with Set. How can that be used to pause processing for a
length of time, eg. ten seconds?
 
D

David Candy

You are a moron. This is about Windows and the group is nntp://msnews.microsoft.com/microsoft.public.win2000.cmdprompt.admin


I suggest you go back to the idiots in Alt.
 
B

billious

Gary D. said:
In XP Home, when I run a DOS .bat file I get the message -
'Choice' is not recognized as an internal or external command,
operable program or batch file.

I am trying to use the command -
Choice /cb /t:b,10 /n > nul
to cause a pause for ten seconds.

Can anyone advise how to do this in XP, if it's even possible?

To pause a batch for 10 secs:

ping -n 11 127.0.0.1 >nul

(the space before the ">nul" is critical; the number following the -n is
(delay+1) secs)

Batch techniques are discussed in alt.msdos.batch.nt (for NT/2K/XP) or
alt.msdos.batch(DOS/9x).

(Yes, I know about microsoft.public.win2000.cmdprompt.admin - but it just
duplicates alt.msdos.batch and takes longer to type)

HTH

....Bill
 
G

Gary D.

Why don't you read help or admit you are an idiot to your employer.

Go and get laid retard - then maybe you won't be so frustrated, or perhaps
you're a pillow-biter?
 
D

David Candy

Very smart, for an idiot. Type choice in Help, moron. See it says NOT SUPPORTED. I told you set which is a replecement for Choice but you are too stupid to read help.

Set Help for Morons.
================
The /P switch allows you to set the value of a variable to a line of input
entered by the user. Displays the specified promptString before reading
the line of input. The promptString can be empty.
 
B

billious

I'm disappointed in you, David.

You seemed to be one of the few gentlemen on the net that was willing to
take some time out help others.

But I was wrong. You're just an arrogant know-all.

Get a life.

....Bill


"David Candy" <.> wrote in message
You are a moron. This is about Windows and the group is
nntp://msnews.microsoft.com/microsoft.public.win2000.cmdprompt.admin


I suggest you go back to the idiots in Alt.
--
 
T

Tim Slattery

Gary D. said:
In XP Home, when I run a DOS .bat file I get the message -
'Choice' is not recognized as an internal or external command,
operable program or batch file.

I am trying to use the command -
Choice /cb /t:b,10 /n > nul
to cause a pause for ten seconds.

Can anyone advise how to do this in XP, if it's even possible?

There's no "choice" command in Windows. Either you were using a
different operating system, or somebody had written a program named
"choice" that you had access to.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top