How to add 7-ZIP to the WD.ENV file

How to add 7-ZIP to the WD.ENV file

Anonymous
Not applicable
6,947 Views
6 Replies
Message 1 of 7

How to add 7-ZIP to the WD.ENV file

Anonymous
Not applicable

I have seen a few previous threads on this topic - but no solution...

 

Has anybody successfully gotten 7-ZIP to work with AutoCAD Electrical (esp. 2010)? I have tried a couple of things unsuccessfully:

WD_ZIP,c:/program files/7-Zip/7z.exe, command line version

WD_ZIP,c:/program files/7-Zip/7zFM.exe, main file manager version

If so - what does the line in the WD.ENV file look like?

 

Please help!!

Accepted solutions (1)
6,948 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable

WnZIP and WinRAR working correctly with AutoCAD Electrical 2012.

But I have only 7-ZIP.

And have the same problem.

I do not know how to specify a string WD_ZIP in WD.ENV for 7-ZIP Smiley Sad

WD_ZIP,c:/program files/7-Zip/7z.exe - does not work!!!

 

Please help!!!

 

Message 3 of 7

Maxim-CADman77
Advisor
Advisor
Accepted solution

Ruslan and others,

 

Making copy of 7z.exe as rar.exe and using “WD_ZIP, c:\Program Files (x86)\7-Zip\rar.exe” does the trick...
 
Please mark as solution if applicable

Please vote for Inventor-Idea Text Search within Option Names

Message 4 of 7

Anonymous
Not applicable

@Anonymous wrote:

Ruslan and others,

 

Making copy of 7z.exe as rar.exe and using “WD_ZIP, c:\Program Files (x86)\7-Zip\rar.exe” does the trick...
 
Please mark as solution if applicable

That shouldn't work...

 

But somehow it does.  Thanks!

Message 5 of 7

Verkim1302
Enthusiast
Enthusiast

I know it has been several years since you posted this solution. Now 2017 I have same issue. Following your instructions the command opens the process dialog box, as supposed, and it runs the process with the exception that the RAR/zip file is not created in the destination folder.  It returns completion message, but it's not created. Any new thoughts for AutoCAD Electrical 2017?

hope to hear from you.

Thanks in advance.

 

below are extracts from text window 

Command:

Project ZIP utility


** Backup: C:\Users\Public\Documents\Autodesk\Acade 2017\AeData\proj\IEC60617demo\IEC60617demo.RAR
"C:/Users/Public/Documents/Autodesk/Acade 2017/AeData/proj/IEC60617demo/IEC60617demo.RAR"

Message 6 of 7

rhesusminus
Mentor
Mentor

Just tested here.

 

  1. Downloaded this file:
    2017-08-30_19-06-12.png

  2. Unpacked 7za.exe, and renamed it to rar.exe. Put it here:
    2017-08-30_19-06-32.png

  3. Edited the WD.ENV file:
    2017-08-30_19-06-55.png

  4. Restarted AcadE to read the changes in wd.env. Ran the ZIP Project and this file was created:
    2017-08-30_19-11-00.png

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
Message 7 of 7

Verkim1302
Enthusiast
Enthusiast

Thank you so much, This is the Solution

Your Zip download link is the correct one to use.

Because my company deployment does not generate the same paths you example, I found a work around to extract zip in another path as well in the ENV file.

 

C:\Users\Public\Documents\Autodesk\Acade 2017\AeData\

 

* Project and drawing-related paths and settings
************************************************************************************
WD_PROJ,%WD_DIR%/proj/,AutoCAD Electrical default project data folder
*WD_PICKPRJDLG,x:/some path/,to override starting subdir for "PICK PROJ" button
*WD_OPEN_DWG,(command "_.ZOOM" "_E"),AutoLISP prog or expression to autoexecute when dwg opened from PROJ dlg
*WD_PROMPT_SAVE,1,set to 1 to trigger "Save changes" prompt when using open dwg next/prev arrows buttons
WD_ZIP,%WD_DIR%/rar.exe, full path/name for alternate zipping utility

 

 

Again, Thanks,

Mario Gallardo

 

(can't seem to find the "Accept Solution" button) 

0 Likes