Article ID: 161412 - Last Review: October 27, 2006 - Revision: 2.2 SMS: 'Too Many Parameters' Error When Running Smsls.batThis article was previously published under Q161412 SYMPTOMS
When you run the Smsls.bat file on a client computer running Windows 95,
you may receive errors, and the command prompt window may display the
following message:
Too Many Parameters Bad Command or Filename Bad Command or Filename Too Many Parameters CAUSE
If there is a space in the directory name for the "path" environment
variable (such as "C:\Program Files"), and you run the Smsls.bat file on a
client computer running Windows 95, Systems Management Server does not
parse the path correctly.
This problem occurs when Smsls.bat sets the SMS_P=%PATH% environment variable. SMS_P is then used in various places in the logon script that contains the space, and causes that command-line to clock. WORKAROUND
To work around this problem, add quotation marks around the path variable
in two (and only two) places in the Smsls.bat file.
The name specified is not recognized as an internal or external command,
operable program or batch file.
STATUS
Microsoft has confirmed this to be a problem in Systems Management Server
versions 1.0, 1.1, and 1.2. We are researching this problem and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
| Article Translations
|
Back to the top
