Passing Environment Variables to Applications Started by SRVANY (197178)
The information in this article applies to:
- MSPRESS Microsoft Windows NT Resource Kit
This article was previously published under Q197178
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information on how to do this, view the "Restoring
the Registry" online Help topic in Regedit.exe or the "Restoring a Registry
Key" online Help topic in Regedt32.exe.
SUMMARY
Some applications you want to launch using SRVANY from the Windows NT
Resource Kit may require specific environment variables that you may not
want to set as, or set differently than system variables.
You can launch a batch file from SRVANY, do the modifications to the
environment there, and then start the application. But there is a drawback:
SRVANY will not terminate the application when you stop the service.
Instead, it will terminate Cmd.exe. This makes it hard to administrate this
service, especially remotely.
Modification Type: | Major | Last Reviewed: | 2/17/2000 |
---|
Keywords: | kbinfo KB197178 |
---|
|