Menu

#179 Empty files

open
nobody
None
5
2012-12-07
2009-05-02
No

7-zip support request

hi

in .net there's a function Path.GetTempFileName that creates unique empty temp file and
returns it file name

but if to pass it like
7z a d:\temp\tmp40.tmp 7z.exe

7z shows that
Error: d:\temp\tmp40.tmp is not supported archive

so to interop with 7z in my app BUtil i have to use
non standard way to generate file name for 7z via mutexes.
(of course that was interesting to create but)

So my proposal to make 7z to treat empty file (that returned by standard routine) as valid for such case

In my case it will reduce program complexity. Also it may help to those folks who calls 7z from .net

(deleting generated file is not helpfull, because system sometimes create file with the same name for another app that asked for it. i've got such situations sevaral times)

if you consider this is a good idea could you please write reply to this post(so i've got an e-mail notification)?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.