This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
SHOW ON DISK
|
SHOW ON DISK ( pathname {; *} ) | ||||||||
Parameter | Type | Description | ||||||
pathname | String |
![]() |
Pathname of item to show | |||||
* | Operator |
![]() |
If the item is a folder, show its contents | |||||
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.
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
The system variable OK is set to 1 if the command is executed correctly.
Product: 4D
Theme: System Documents
Number:
922
Created: 4D 2004.1
disque dur
4D Language Reference ( 4D v20 R7)