View Full Version : GetDirectory()
Rob H
November 13th, 2004, 01:01 PM
In Girder you can use the GetDirectory() function to find e.g. the Girder directory.
Is there a similar function to find the NetRemote directory (or better still the directory that contains the CCF that is currently loaded)?
danward79
November 13th, 2004, 02:02 PM
Rob,
That would be handy, but I have never heard of one.
Ben S
November 13th, 2004, 02:10 PM
Path ccf was loaded from: NR.FILE.Path
Name of ccf : NR.FILE.Name
NetRemote directory: NR.InstallDir
From Lua:NetRemote.GetVariable('NR.FILE.Path')
Rob H
November 13th, 2004, 02:19 PM
Brilliant, thanks Ben
Jlee
November 13th, 2004, 02:36 PM
It would be really good to have this documented somewhere.
danward79
November 14th, 2004, 12:30 AM
Now I know that! I will be able to make my scripts more robust!
Thanks... :P
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.