Zip auto-extract feature sets wrong current directory

If we have zip archive c:\1\1.zip:

  • 1.exe
  • 1.dll

Then autoextract function on 1.exe launches from temp folder 1.exe with current directory = "c:\1"

THIS IS WRONG!

1.exe will not find it's 1.dll file using current directory.

THE RIGHT WAY IS to set current directory to the temp folder.

When I double click an .exe file within a .ZIP file, DOpus extracts all the files to my TEMP folder and runs the .exe file. Nothing wrong here ...

But did you enable the option Auto-Extract -> Use on Double-click ... ?
When you disable this option, DOpus will only extract the .exe file (to your TEMP folder) when you double-click it!
If this option is disabled, the only way to access auto-extract is via the right-button context menu of a file within a ZIP file.

Thanks for reply. Possibly, my english is not good. Extracting all files from archive in AutoExtraction feature works well. But then dopus starts 1.exe from that created temp folder. And it starts 1.exe with the environment variable CURRENT DIRECTORY referring the directory where the archive is but not the temp folder.

I reported this to GPSoftware for you.

Thanks!

Now (in 9.5) it woks ok

Yep, it got fixed two years ago. :slight_smile:

Opus 9.1.2.0 – May 21st 2009:

  • ...
  • The Zip Auto-Extract function now sets the current directory of the launched file correctly to that of the extracted files (so that any associated files like DLLs will be found).
  • ...