gdir is a graphical representation of the dirs, pushd, and popd commands for managing the directory stack. When you run the gdir command a dialog box appears. In this box the Change Current Directory To field allows you to specify a new current working directory and the Directory Stack field displays all the current entries in the directory stack.
If you enter a new directory name in the Change Current Directory To field, the specified directory name is pushed to the top of the directory stack, gdir terminates, and the working directory of your current shell is changed to the new directory.
You may also change your working directory to any of the entries in the Directory Stack list by double-clicking on the entry. The selected directory is then moved to the top of the directory stack, gdir terminates, and the working directory of your current shell is changed to the new directory.
To delete a directory entry from the displayed stack, click on the directory to highlight it, then click the Delete button. All other directories in the stack are adjusted accordingly.
Possible exit status values are:
gdir is a KornShell function defined in the file $ROOTDIR/etc/dir.ksh. This file is normally processed by a login KornShell during the processing of the file $ROOTDIR/etc/profile.ksh. If your system fails to recognize the gdir command, check your profile.ksh file to ensure that a call to dir.ksh is included.
Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
Using the MKS KornShell
PTC MKS Toolkit 10.4 Documentation Build 39.