relative paths in batch convert

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, helmut, xnview

Post Reply
sergo
Posts: 56
Joined: Mon Aug 14, 2006 4:41 pm

relative paths in batch convert

Post by sergo »

I don't know if it's a bug or a feature so I've decided to put this in the suggestion section.
It's a relative path problem in batch convert dialog.
When I'm converting some picture in the folder, I put in directory field relative path - "./xnview_copy_test", and what I'm expecting is new folder in the CURRENT folder. But there's not the new folder. In most cases this folder is appearing in my user folder, under "documents and settings".
But if I open the image file by double clicking in Explorer and then change Xnview to browse mode and then make BathConvert with relative path I will get new subfolder!
So, I think, Xnview considers Windows-wise current directory instead of directory in which I'm working in current moment:)
It will be fine if this behavior will be more expectable in one of the future realese of Xnview.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

Placing $\converted\ in the output directory field might provide the function you're looking for. It tells the program to create new subfolders underneath the original ones.

Source:
c:\1.jpg
c:\test\2.jpg

Result:
c:\converted\1.jpg
c:\test\converted\2.jpg
sergo
Posts: 56
Joined: Mon Aug 14, 2006 4:41 pm

Post by sergo »

thank you marsh!

It works perfectly! I didn't know about $ sign.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Good solution, marsh. I didn't know about the $ placeholder either. That's somehthing for the XnView online help and the FAQ "How to Batch convert several images at once".

[EDIT] I've just copied marsh's above info to the FAQ, I hope you don't mind, marsh.
Post Reply