AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
scottgensemer8984
4514 Views, 6 Replies

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

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!!

6 REPLIES 6
Message 2 of 7
mri
Contributor
in reply to: scottgensemer8984

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

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
Message 4 of 7
drathak
in reply to: Maxim-CADman77


@uma 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!

--------------
Joe Weaver
Principle Associate Engineer - Nashville Electric Service
P&C Committee Chair – SDS Industry Consortium
Message 5 of 7
Verkim1302
in reply to: Maxim-CADman77

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
in reply to: Verkim1302

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
AutoCAD Electrical and EPLAN expert
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
Message 7 of 7
Verkim1302
in reply to: Verkim1302

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) 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost