Wrong. Whatever the system is, the path will always end with #PS$, never with #NPS$! Please remove the mention of #NPS$ here.Returns the full path of the current directory. It will end with a directory separator ('\', #PS, #PS$ for Windows or '/', #NPS, #NPS$ otherwise)
The directory separator is allways #PS$. #NPS$ means the "wrong" separator on your system.
Same thing on following sites:
GetUserDirectory()
GetHomeDirectory()
GetCurrentDirectory()
GetTemporaryDirectory()
I would write it in this way:
Edit: "path" separator is better then "directory" separator ("PS" means "path separator" I think)Returns the full path of the current directory. It will end with a path separator #PS, #PS$ ('\' for Windows or '/' otherwise)