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
Moderator: xnview
-
xnview
- Author of XnView
- Posts: 47520
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
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.
-
TS
- Posts: 4
- Joined: Tue Jun 05, 2007 8:22 am
-
xnview
- Author of XnView
- Posts: 47520
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
TS
- Posts: 4
- Joined: Tue Jun 05, 2007 8:22 am
Relative path for the Browser StartupDirectory
the path to Xnview.exe on the CD is:
\Xnview\xnview.exe
\Xnview\xnview.exe
-
xnview
- Author of XnView
- Posts: 47520
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
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.
-
TS
- Posts: 4
- Joined: Tue Jun 05, 2007 8:22 am
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