KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to display files and folders located in the Operating System
PRODUCT: 4D | VERSION: 2004.1 | PLATFORM: Mac & Win
Published On: May 5, 2005
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

How to display files and folders located in the Operating System:

In the new 4th Dimension 2004.1 there is a new command that will allow you to display the file or folder whose pathname was passed in the “pathname parameter”. You have three options when using the SHOW ON DISK command. You can view the designated file, folders, or contents of the folder. To view the file, pass in the path to the specific file name.

SHOW ON DISK(“c:\\MyFolder\\MyFile.txt”)

To view the folder, pass in the path to the specific folder name.

SHOW ON DISK(“c:\\MyFolder\\Folder2”)

To view contents of the folder, pass in the path to the folder. Also add an asterisk (*) in the second parameter field.

SHOW ON DISK(“c:\\MyFolder\\Folder2”;*)

For more information on this command, use the 4d_2004.1 addendum manual.