Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== CURRENTDIR property (Filesystem) ====== ==== Description ==== Gets or sets the "Current Directory" for the PS process. ==== Property Value ==== This property is a string containing a valid operating system path. ==== Property Traits ==== ^Development^Runtime^Indexed^Scaled^Synthetic^ |N/A|Get/Set|No|N/A|No| ==== Remarks ==== 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. ==== Example ==== <code> // Get the current directory CurrentDir = Get_Property( "FILESYSTEM", "CURRENTDIR" ) // Set the current directory OrigDir = Get_Property( "FILESYSTEM", "CURRENTDIR", "c:\temp" ) </code> ==== See Also ==== N/A guides/oi10/presentation_server/currentdir_property_filesystem.txt Last modified: 2023/10/25 10:49by 127.0.0.1