-Y Command-line Option
Return to Introduction  Previous page  Next page
The -Y option specifies a username in case you want to execute a command as a user other than yourself.

The following table lists ways to use the -Y option.

Option
Description
-YLindsey
Specifies a username
-YLindsey,MyPass
Specifies a username and password


Note that, if you do not supply a password, you may be prompted for one. If you want to avoid prompts during a batch run, either specify the password using the -Y switch, or use an account that does not require one.

This option is valid for the duration of the command it is used with only. TC will use your default account for commands that do not use this option, and automatically remembers these details between commands.

 


© 1995-2018 MCN Software