This command must offer saving in directory of opened picture, but she always offers D:\ (like "Save as ...").
Announcement
Collapse
No announcement yet.
"Save (original folder)" broken in 4.32-4.35
Collapse
X
-
No such problem here — what is your OS?Before you post ... Edit your profile • IrfanView 4.62 • Windows 10 Home 19045.2486
Irfan Paint • Irfan View Help • IrfanPaint Help • Riot.dll • More Skins • FastStone Capture • Uploads
-
Still working fine here in 4.36, so unless you can tell us more there's nothing we can do to help. If there is a bug, it cannot be fixed unless it can be reproduced by others. I am also using Windows XP SP3.
How are you opening the pictures?Before you post ... Edit your profile • IrfanView 4.62 • Windows 10 Home 19045.2486
Irfan Paint • Irfan View Help • IrfanPaint Help • Riot.dll • More Skins • FastStone Capture • Uploads
Comment
-
Originally posted by Bhikkhu Pesala View PostHow are you opening the pictures?
This works correctly: i_view32.exe d:\path\image.png
Originally posted by jazzman View PostProbably you don't have update permission for the ini-fileIV 4.56 32-bit
Comment
-
I tried what you are doing in earlier versions of Irfanview (4.28 and 4.30) and it did not work there either.
I am not really surprised that it does not work. Does WinXP support the %cd% system variable? I notice that when I type it into the Search box in my Win7, it invites me to download and instal an optional extra system component to provide support for it. If Windows does not support it natively then I would not expect Irfanview to do so either.
Command prompt (and cmd.exe) clearly has to support it since it emulates DOS. So why not just use %cd%\image.png for your file name in the Command line? Then cmd.exe will add the current directory path to the image name before passing it to Irfanview.
Comment
-
Originally posted by Mij View PostI tried what you are doing in earlier versions of Irfanview (4.28 and 4.30) and it did not work there either.
Does WinXP support the %cd% system variable?Code:E:\TEMP>echo %cd% E:\TEMP E:\TEMP>
If Windows does not support it natively then I would not expect Irfanview to do so either.
So why not just use %cd%\image.pngIV 4.56 32-bit
Comment
-
OK. I have managed to reproduce your problem but not by putting the file "image.png" in the current directory of Command Prompt.
Maybe your WinXP does behave differently to my Win7 or perhaps it is working just by luck (see below for what does work).
If I run the lineCode:i_view32.exe image.png
If I put image.png in the "Start in" folder of Irfanview then the image is opened correctly. Under Set Program start folder in the Start/Exit options of Properties/Settings I chose the Specific folder option and specified the folder I wanted to use as "Start in" there. I have not explored what the None option does though I suspect it might result in "Start in" being set to the folder where Irfanview's i_view32.exe file is located.
When I do now open files from the Start in folder though, using your Command line, I do see what you described. When I select Save, earlier versions of Irfanview (I used v4.28) do open the Save dialog at that same folder but later versions (I tried 4.35) do not.
Code:i_view32.exe %cd%\image.png
Code:image.png
When using Batch files I found that another useful form isCode:i_view32.exe %~dp0image.png
Last edited by Mij; 20.07.2013, 03:02 PM.
Comment
Comment