Applies to : ZWCAD Classic

Issue:

If you have ZWCAD+ installed on your computer, then you install ZWCAD Classic, you will find that the default program for DWG file is always the ZWCAD+ product, and you cannot set to ZWCAD Classic.


Solution:

Here is a solution to help you set it to ZWCAD Classic.

1. Go to ZWCAD Classic installation directory, copy the file "ZWCAD.EXE" in the same folder

2. Rename the copy file of "ZWCAD.EXE", for example, ZWCADClassic.EXE



 3. Right-click the DWG file, and select the default .exe file to ZWCADClassic.EXE, then you will find everything works fine



Solution:

In some computers, you may find that ZWCAD Classic still could not be set as the default program to open .dwg files after solution 1. You can try solution 2 as follows.

Steps:

1) Start->Run->regedit, to open Registry;

2) Locate Computer\HKEY_CLASSES_ROOT\Applications;

3) Create a new item named ZWCAD.EXE, and then some sub-items as follows,

     a) ZWCAD.EXE\shell\open\command;

     b) ZWCAD.EXE\shell\open\ddeexec;

4) Modify the (Default) string in item command, input the data as follows,

    "TheAbsolutePathofInstallationDirectory\ZWCAD.EXE" "%1"

     for example, 

     "D:\ZWCAD Classic\ZWCAD.EXE" "%1"

    Modify the (Default) string in item ddeexec, input the data as follows,

     "[open("%1")]"

5) After 4), you can choose to set ZWCAD Classic as the default program to open dwg files.


Note: In the step 4) of solution 2, the item command is used to set ZWCAD Classic as default program to open DWG files via double-clicks, while the item "ddeexec" is used to make system variable SDI work, which multiple DWG files can be opened as file tabs in one ZWCAD Classic program when SDI is set to be 0(off) and each DWG file is opened in a separate process when SDI is set to be 1(on).