-- last edited by: L. Stewart, December 12, 1983 5:21 pm
name
PrintWorkingDirectory:
syntax
PrintWorkingDirectory
description
Print the current working directory. This command is a specialized case of GetProcessProperties $WorkingDirectory. In addition to printing the value of the property, PrintWorkingDirectory changes the herald of the CommandToolWindow (if there is one) to the correct value. PrintWorkingDirectory is a good way to make sure the herald is right.
examples
% PrintWorkingDirectory
///
%
warnings
PrintWorkingDirectory calls CommandTool.CurrentWorkingDirectory[] which has a couple of side effects besides just returning the property value. If the working directory property 't exist, CurrentWorkingDirectory sets it to the same as the default working directory. CurrentWorkingDirectory also converts the working directory name to slash format and appends a '/ if the last character is not '/.
stop/undo
Probably too fast to stop.
implementation
FSFileCommandsImpl.mesa in CommandTool.df
contact
L. C. Stewart <Stewart.pa>
keyword hints
help button info man
keywords
to be supplied by the Index Czar