PC Review


Reply
Thread Tools Rate Thread

Batch Files - Windows XP and the CHOICE command

 
 
=?Utf-8?B?UmljaGFyZCBUcm9pYW5v?= libam com>
Guest
Posts: n/a
 
      11th Oct 2006
HI all,
I am in the process of writing a batch file and need to be able to use the
CHOICE command in a batch file. The batch file is going to run on my own
computer (windows xp /w sp2 all patches) but xp does not seem to recognize
the choice command. Whats up with that? Is there an altnernative i can use
instead of choice? And why is choice listed in the a-z command reference if
it does not exist on windows xp sp2 installs?

thx
richie

--
-----------------
Richard Troiano
MIS/IT Assistant
Liberty American Mortgage
2281 Lava Ridge Court
Roseville, CA 95661
916-780-3000 ext 381
 
Reply With Quote
 
 
 
 
John John
Guest
Posts: n/a
 
      11th Oct 2006
Choice is available in one of the Resource Kits.
http://www.dynawell.com/support/ResKit/winnt.asp

John

PS. Look on your Windows XP CD these support tools may be on there.

Richard Troiano libam com>

> HI all,
> I am in the process of writing a batch file and need to be able to use the
> CHOICE command in a batch file. The batch file is going to run on my own
> computer (windows xp /w sp2 all patches) but xp does not seem to recognize
> the choice command. Whats up with that? Is there an altnernative i can use
> instead of choice? And why is choice listed in the a-z command reference if
> it does not exist on windows xp sp2 installs?
>
> thx
> richie
>


 
Reply With Quote
 
=?Utf-8?B?UmljaGFyZCBUcm9pYW5v?=
Guest
Posts: n/a
 
      11th Oct 2006
John,
Thanks a ton! that link is great! I will be sure to mark this as a helpful
post!

thanks again!

-
R Troiano
Project Specialist
HP


"John John" wrote:

> Choice is available in one of the Resource Kits.
> http://www.dynawell.com/support/ResKit/winnt.asp
>
> John
>
> PS. Look on your Windows XP CD these support tools may be on there.
>
> Richard Troiano libam com>
>
> > HI all,
> > I am in the process of writing a batch file and need to be able to use the
> > CHOICE command in a batch file. The batch file is going to run on my own
> > computer (windows xp /w sp2 all patches) but xp does not seem to recognize
> > the choice command. Whats up with that? Is there an altnernative i can use
> > instead of choice? And why is choice listed in the a-z command reference if
> > it does not exist on windows xp sp2 installs?
> >
> > thx
> > richie
> >

>
>

 
Reply With Quote
 
John John
Guest
Posts: n/a
 
      11th Oct 2006
You're welcome.

John

Richard Troiano wrote:

> John,
> Thanks a ton! that link is great! I will be sure to mark this as a helpful
> post!
>
> thanks again!
>
> -
> R Troiano
> Project Specialist
> HP
>
>
> "John John" wrote:
>
>
>>Choice is available in one of the Resource Kits.
>>http://www.dynawell.com/support/ResKit/winnt.asp
>>
>>John
>>
>>PS. Look on your Windows XP CD these support tools may be on there.
>>
>>Richard Troiano libam com>
>>
>>>HI all,
>>>I am in the process of writing a batch file and need to be able to use the
>>>CHOICE command in a batch file. The batch file is going to run on my own
>>>computer (windows xp /w sp2 all patches) but xp does not seem to recognize
>>>the choice command. Whats up with that? Is there an altnernative i can use
>>>instead of choice? And why is choice listed in the a-z command reference if
>>>it does not exist on windows xp sp2 installs?
>>>
>>>thx
>>>richie
>>>

>>
>>


 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      11th Oct 2006
"Choice" is not listed when I type Help /? at the Command
Prompt. It is, in fact, a Win9x command. Where did you see
it listed?

Under WinXP you use this syntax to obtain user input:

@echo off
set /p name=Please enter your name:
echo Hello, %name%


"Richard Troiano libam com>" <rtroiano <atdot> wrote in message
news:BB1DCC93-B47E-4892-85C7-(E-Mail Removed)...
> HI all,
> I am in the process of writing a batch file and need to be able to use the
> CHOICE command in a batch file. The batch file is going to run on my own
> computer (windows xp /w sp2 all patches) but xp does not seem to recognize
> the choice command. Whats up with that? Is there an altnernative i can

use
> instead of choice? And why is choice listed in the a-z command reference

if
> it does not exist on windows xp sp2 installs?
>
> thx
> richie
>
> --
> -----------------
> Richard Troiano
> MIS/IT Assistant
> Liberty American Mortgage
> 2281 Lava Ridge Court
> Roseville, CA 95661
> 916-780-3000 ext 381



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DOS .... Command Prompt ..... Batch Files Microsoft Windows 2000 CMD Promt 2 26th Jun 2005 05:23 PM
Console replication of old CHOICE DOS command - how to timeout? - choice.vb (0/1) Mark A. Nadig Microsoft VB .NET 13 17th Mar 2005 03:40 PM
Command Prompt & Batch Files Herb Stevenson Microsoft Dot NET 2 15th Jun 2004 02:36 PM
Using Batch files to start windows apps from command line =?Utf-8?B?V3lubg==?= Windows XP Help 1 12th Feb 2004 01:33 AM
Choice command in Batch Files Thusitha Microsoft Windows 2000 CMD Promt 5 6th Oct 2003 03:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:21 PM.