Compatible with 4D 2004.x
Using the new command, LAUNCH EXTERNAL PROCESS, 4D can very easily interact with the underlying OS. The following code will open Windows Explorer to wherever you desire.
$vPath:=Request("Take me to...")
LAUNCH EXTERNAL PROCESS("explorer "+$vPath)
- Type in "c:" and you'll view the content of your C:\ drive.
- Type in "\\NetworkDrive\FolderName" and you'll view the content of a network folder assuming it exists and you’re properly connected.