oi10:presentation_server:currentdir_property_filesystem

CURRENTDIR property (Filesystem)

Gets or sets the "Current Directory" for the PS process.

This property is a string containing a valid operating system path.

DevelopmentRuntimeIndexedScaledSynthetic
N/AGet/SetNoN/ANo

You should exercise some care when setting the current directory using this property as it may cause issues in subsequent data access operations in Basic+, due to the fact that RevEngine uses the current directory as part of the search path when loading other modules, and also in resolving relative paths. The best policy is to restore it to its original value as soon as possible if you have to change it.

This property is basically a wrapper around the GetCurrentDirectory and SetCurrentDirectory Windows API functions, so please refer to the documentation on the Microsoft website for further information.

 
// Get the current directory

  CurrentDir = Get_Property( "FILESYSTEM", "CURRENTDIR" )

  

  // Set the current directory

  OrigDir = Get_Property( "FILESYSTEM", "CURRENTDIR", "c:\temp" )
 
 
 

N/A

  • oi10/presentation_server/currentdir_property_filesystem.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1