[request] DWF files opening like ZIP-archive

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
glipman
Junior Member
Junior Member
Posts: 31
Joined: 2005-02-09, 20:59 UTC

[request] DWF files opening like ZIP-archive

Post by *glipman »

With AutoCAD you can create DWF files, a graphical format file.
These DWF files are basically just ZIP files with a lot of other files inside: when I rename a DWF file to the extension ZIP I can enter it with the Total Commander and copy files out of it.

It would be very nice if I could enter the DWF file with Ctrl+PgDn as well, without renaming it to .ZIP. Currently Ctrl+PgDn does nothing on the DWF file.
For your information: the first few bytes of such a file read:
(DWF V06.00)PK
User avatar
szlori
Senior Member
Senior Member
Posts: 263
Joined: 2005-01-17, 07:12 UTC
Location: Sydney

Post by *szlori »

Or maybe somebody can write a simple packer plugin for it.
Also maybe the MultiArc plugin can be adapted to do it.
Just listing some ideas...
glipman
Junior Member
Junior Member
Posts: 31
Joined: 2005-02-09, 20:59 UTC

Post by *glipman »

Before some creates a plugin, when I press Enter on the file I want TC to open the Windows assosiated program (a viewer), like it does now.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3379
Joined: 2003-05-06, 11:46 UTC

Re: [request] DWF files opening like ZIP-archive

Post by *Sir_SiLvA »

glipman wrote:For your information: the first few bytes of such a file read: (DWF V06.00)PK
So, this is not a standard zip-file - even packed winamp-skins (wsz)
have PK as the first two bits so I think you should write the AuroCad guys as they have done this wrong :-) Cause if the first two bits would be
PK Ctrl+PgDn would work ;p
Hoecker sie sind raus!
glipman
Junior Member
Junior Member
Posts: 31
Joined: 2005-02-09, 20:59 UTC

Post by *glipman »

I know, it is not a 100% standard zip-file. But TC seems to handle it fine when I rename it to .ZIP. That way TC can cope with the bytes '(DWF V06.00)' which it probably just skips.
All I am hoping for is the same behaviour on Ctrl+PgDn.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2glipman
The file is probably not recognized by the 'by content' detection meachanism, but a more thorough test of the file on ENTER the file is parsed. This can happen for example with incomplete zip files too.
Author of Total Commander
https://www.ghisler.com
glipman
Junior Member
Junior Member
Posts: 31
Joined: 2005-02-09, 20:59 UTC

Post by *glipman »

Oke, is there a way to force the more thorough test without renaming the file to .ZIP?
Post Reply