AdvancedHMI Software

General Category => Feature Request => Topic started by: DavidSr on March 02, 2019, 11:02:43 AM

Title: Relative file locations
Post by: DavidSr on March 02, 2019, 11:02:43 AM
Is it possible to have an "Option"  make log file locations relative to root of debug directory?


so instead of C:\advancedhmi\etc..........\debug\logfiles

we could use \logfiles

Then whatever device we run the Hmi from can have log files on it.  If we copy the run time debug directory to a drive outside the pc  or not on the current network we won't have to reconfigure the path.
I would want this as an option in the control config though for the log file location --  Relative or fixed. 

Maybe that is not practical and I would not want time invested in it just for me.
Title: Re: Relative file locations
Post by: Archie on March 02, 2019, 03:58:34 PM
The ".\" designation specifies to point to the same directory as the executable file.
Title: Re: Relative file locations
Post by: DavidSr on March 02, 2019, 04:41:10 PM
Ok good, then
          ".\logs"   would direct files to .......\RunTimedirectoryName\logs  right?
Title: Re: Relative file locations
Post by: Archie on March 02, 2019, 05:08:01 PM
".\logs"   would direct files to .......\RunTimedirectoryName\logs  right?
Yes