LFNFOR and CHOICE scripting problem

  • Thread starter Thread starter Mr. Krab
  • Start date Start date
M

Mr. Krab

I'm trying to run a script that is supposed to work for XP (Win98 too).
When I run the script I get the following errors:

'LFNFOR' is not recognized as an internal or external command, operable
program or batch file

'CHOICE' is not recognized as an internal or external command, operable
program or batch file

I've googled my brains out trying to find a solution, but the best I can
find is usage information. This script runs with Win98 and neither
LFNFOR or CHOICE show up in system file searches so I'm assuming it is
built into the shell. Is there a PATH I'm missing or maybe a package
that is not installed?

Here is how both are being used in the script (only selected lines shown):

lfnfor on
choice /c:CDEFGHIJKLMNOPQRSTUVWXYZA /N Select a drive letter
lfnfor off
 

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

Back
Top