3.5 @

Use the @ command to execute a program that is external to the login script and then continue with the script (similar to the Startup group). Enter the @ command followed by the name of the file that you want to execute.

IMPORTANT:Use the @ command instead of the # command to run an external program from a login script if that external program will remain open for any length of time. Otherwise, the login script remains open until that external program is closed. (Login scripts cannot be edited while they are open.)

This command fails when

  • The given directory is invalid.

  • Proper security rights are lacking.

  • The executable file cannot be found.

  • Insufficient workstation memory is available to load the file.

Command Format

@ [path] filename [parameter]

Replace path with a drive letter (Windows) or a valid path name (Linux).

Replace filename with an executable file (files that end in .exe, .com, or .bat, for example). Do not include the extension.

Replace parameter with any parameters that must accompany the executable file.

Examples

If you want to start the GroupWise program from within the login script, you must have a search drive mapped to where the GroupWise application is stored. Enter the following command in the login script:

@GRPWISE

You do not need to enter a path in this case, because the executable program file for GroupWise (grpwise.exe) is located in a search drive.

If you do not have a search drive mapped to the directory where the program is located, include the path to that directory in the command. For example, if the program to run GroupWise is located in the APPS directory on drive G:, use the following command:

@SYS:\APPS\GRPWISE