SMS: Environment Variables May Not Work Properly in a Program Command Line (260395)
The information in this article applies to:
- Microsoft Systems Management Server 2.0
- Microsoft Systems Management Server 2.0 SP1
This article was previously published under Q260395 SYMPTOMS
When you use environment variables in program command lines, the variable may not be expanded (replaced with the actual value of the variable) before you run the command. A non-batch file command line receives the actual environment variable (for example, %TEMP%) rather than the actual value of the variable.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Systems Management Server version 2.0. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
236325 How to Obtain the Latest Systems Management Server 2.0 Service Pack
WORKAROUND
To work around this behavior, use the command line within a batch file to allow the environment variable to be replaced with the actual value.
NOTE: This may not resolve all types of packages.
STATUS
Microsoft has confirmed this to be a problem in Systems Management Server version 2.0.
This problem was first corrected in Systems Management Server version 2.0 Service Pack 2. This problem was first corrected in Systems Management Server version 2.0 Service Pack 2.
Modification Type: | Minor | Last Reviewed: | 6/14/2005 |
---|
Keywords: | kbBug kbClient kbConfig kbfix kbPackage kbsms200sp2fix kbSoftwareDist KB260395 |
---|
|