Computing.Net > Forums > Disk Operating System > hoe to restirct input to one character length

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

hoe to restirct input to one character length

Reply to Message Icon

Name: pret
Date: July 2, 2009 at 07:32:06 Pacific
OS: windows
Subcategory: General
Comment:

i would like to restrict user to enter only one chracter . how do i do it with
set /p character =



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: July 2, 2009 at 08:20:04 Pacific
Reply:

Much depends on the OS.


=====================================
If at first you don't succeed, you're about average.

M2


0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: hoe to restirct input to one character length

copying files to one directory www.computing.net/answers/dos/copying-files-to-one-directory/12450.html

Passing Variable to Batch www.computing.net/answers/dos/passing-variable-to-batch/9649.html

how to print curant page with dos comman www.computing.net/answers/dos/how-to-print-curant-page-with-dos-comman/9092.html