Microsoft KB Archive/930963

From BetaArchive Wiki
Knowledge Base


Article ID: 930963

Article Last Modified on 3/12/2007



APPLIES TO

  • Microsoft SoftGrid for Terminal Services
  • Microsoft SoftGrid for Windows Desktops



INTRODUCTION

This article describes the command-line options for version 4.0 of the Sfttray.exe command.

MORE INFORMATION

All Sfttray.exe command-line options are case sensitive. These options include the application name.

Option Usage Description
/launch /launch "application name"

/launch "file_name.osd"

Specifies an application to be launched. You can specify the application by using a relative path, an absolute path, the path of a network share, or a URL.
/load /load "application name"

/load "file_name.osd"

Specifies an application to be loaded in cache. You can specify the application by using a relative path, an absolute path, a UNC path, or a URL.
/loadall /loadall Loads all applications completely in cache.
/refreshall /refreshall Refreshes all desktop configuration servers.
/hide /hide Hides the SoftGrid client in the notification area. Must be used together with and before the /launch, /load, or /loadall option.
/sftfile /sftfile "file://path/file_name.sft" Specifies an .sft file to import. Must be used together with the /load option.
/help OR /? /help

/?

Displays Help.
/exit /exit Exits all SoftGrid-enabled applications and removes the icon from the notification area.

For more information about the /sftfile option, click the following article number to view the article in the Microsoft Knowledge Base:

930965 How to import an .SFT file from the command line


Examples

The following code starts and loads the SoftGrid example application by using the application name.

sfttray.exe /hide /launch "SoftGrid Example Application"
sfttray.exe /load "SoftGrid Example Application"

The following code starts and loads the SoftGrid example application by using the application name and the version.

sfttray.exe /launch "SoftGrid Example Application 7.0"
sfttray.exe /hide /load "SoftGrid Example Application 7.0"

The following code starts and loads the SoftGrid example application by using the UNC path of an .osd file.

sfttray.exe /launch "\\SGVAS01\CONTENT\sft_ea70.v1_ea.osd"
sfttray.exe /load "\\SGVAS01\CONTENT\sft_ea70.v1_ea.osd"

Keywords: kbtshoot kbexpertiseinter KB930963