Purpose:
_directoryN is a system variable used to check the location of the scripts in the specified directory.
"N" should be replaced with the directory number, i.e., either 0 to 4.
This can serve as a quick lookup to find out the scripts location as compared to finding it out by navigating to the guixt.sjs file in SAPgui folder.
EXAMPLE:
_directory1 returns the location specified under directory1 in guixt.sjs (config) file.
NOTE:
You can type the below command in the SAPgui command field(tcode field) and it will return the path on the status bar.
/wsmessage(_directory1)