Similar to the DIR primary command, WDIR will open the "containing directory" of the current edit file, but instead of displaying an SPFLite File Manager screen, a Windows Explorer dialog showing the containing directory will appear. This gives you access to any Windows-specific file handling tasks that are frequently done using a right mouse click to access a file's "context menus".

Once you are within an Explorer window, you can issue any context function that is accessible via the right mouse button. The available functions may vary, depending on any shell extensions, tools or software you may have added, but standard functions available with Windows include:

    • Open
    • Edit (with some other editor)
    • Cut, Copy, Paste, Rename, Delete
    • Properties (properties you could set include Read Only, Compression and Encryption)

The WDIR primary command works both in edit sessions and in the File Manager. In File Manger, WDIR will open an Explorer window for the directory shown on the File Path line.

Note this command cannot be used while working in Multi-Edit sessions. The reason for that is because a multi-edit session might consist of files from more than one containing directory.

For similar reasons, you cannot issue a WDIR primary command against a FILELIST. However, you can issue a WDIR line command against any individual file listed in a FILELIST or directory list.

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software