4D v14.3

SHOW ON DISK

Home

 
4D v14.3
SHOW ON DISK

SHOW ON DISK 


 

SHOW ON DISK ( pathname {; *} ) 
pathname  String in Pathname of item to show
in 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.

Example  

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.

 
PROPERTIES 

Product: 4D
Theme: System Documents
Number: 922

The OK variable is changed by the commandThis command modifies the Error system variable

 
HISTORY 

Created: 4D 2004.1

 
TAGS 

disque dur

 
ARTICLE USAGE

4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)