Could it be possible, that Xnview handle relative paths at start up?
I would like to put Xnview on a CD with some picture folders. Xnview should start the browser with a specified folder on that CD, independently from the drive letter.
many thanks,
Thomas!
Relative path for the Browser StartupDirectory
Moderators: helmut, XnTriq, xnview
Re: Relative path for the Browser StartupDirectory
Do you have tried xnview \folder\...\ ??TS wrote:Could it be possible, that Xnview handle relative paths at start up?
I would like to put Xnview on a CD with some picture folders. Xnview should start the browser with a specified folder on that CD, independently from the drive letter.
Pierre.
Relative path for the Browser StartupDirectory
the path to Xnview.exe on the CD is:
\Xnview\xnview.exe
\Xnview\xnview.exe
Re: Relative path for the Browser StartupDirectory
If you try to use in the autorun.inf XnView\XnView.exe folder ?TS wrote:the path to Xnview.exe on the CD is:
\Xnview\xnview.exe
Pierre.
Relative path for the Browser StartupDirectory
Excuse me please for my late reply, but my internet connection was disabled.
With the autorun.inf and the start.bat it works fine.
autorun.inf:
[autorun]
open=start.bat
start.bat:
cd /Xnview/
start xnview.exe \folder
exit
I always thought that I have to edit the StartupDirectory= in the xnview.ini. or have to put the relative path in the GUI at options/general/operations/startup directory. Perhaps this is possible in one of the next releases?
Many thanks you for your help and your great software!
TS
With the autorun.inf and the start.bat it works fine.
autorun.inf:
[autorun]
open=start.bat
start.bat:
cd /Xnview/
start xnview.exe \folder
exit
I always thought that I have to edit the StartupDirectory= in the xnview.ini. or have to put the relative path in the GUI at options/general/operations/startup directory. Perhaps this is possible in one of the next releases?
Many thanks you for your help and your great software!
TS