SHOW ON DISK

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2004.1


SHOW ON DISK (pathname{; *})

ParameterTypeDescription
pathnameStringPathname of item to show
*If the item is a folder, show its contents

Description

The SHOW ON DISK command displays the file or folder whose pathname was passed in the pathname parameter in a standard window of the operating system.

In a user interface, this command lets you designate the location of a specific file or folder.

By default, if pathname designates a folder, the command displays the level of the folder itself. If you pass the optional * parameter, the command opens the folder and displays its contents in the window. If pathname designates a file, the * parameter is ignored.

Examples

The following examples illustrate the operation of this command:

   SHOW ON DISK("c:\\MyFolder\\MyFile.txt")   ` Displays the designated file

   SHOW ON DISK("c:\\MyFolder\\Folder2")   ` Displays the designated folder

   SHOW ON DISK("c:\\MyFolder\\Folder2";*)   ` Displays the contents of the designated folder

System Variables and Sets

The system variable OK is set to 1 if the command is executed correctly.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next