Performs a Kermit "Change Work Directory" command.
[Visual Basic .NET] Public Sub KCWD(ByVal Directory As String, ByVal Password As String) |
[C#] public void KCWD(string Directory, string Password); |
Parameters
Directory
The absolute path name of the work directory on Kermit server.
Password
Used for authorization check before the "Work Directory" is changed. If it is an empty string, no authorization check is involved.
Remarks
After this command is executed on Kermit server, Kermit sends the command execution status back to MegaPipe and KCommandDone event is fired indicating whether this command is executed successfully or execution fails (an error message is passed back).
See Also