Page 1 of 1

Comand Line - File Association

Posted: Mon Sep 23, 2002 2:37 am
by asharpe
Hi,

Having upgraded Intelicad I seem to have lost my file assocaitions. I tried to recreate then in Windows Explorer by adding icad to the dwg extension with the open command but when I try to open a file icad tries to start but then informs me I have the wrong comand line.

Anyone know of a simple way to restore the association? I'm using Icad 3.3 PE with Win2K

Thanks

Posted: Mon Sep 23, 2002 7:39 pm
by Bryan
Can't give any good answer as I have been here before and have never found one. I can share my listings though.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
OPEN

"C:\Program Files\CADopia\IntelliCAD 2001\icad.exe" /dde

USE DDE IS CHECKED

DDE MESSAGE
[open("%1")]


PRINT
"C:\Program Files\CADopia\IntelliCAD 2001\icad.exe" /dde

USE DDE IS CHECKED

DDE MESSAGE
[print("%1")]

PRINTTO
"C:\Program Files\CADopia\IntelliCAD 2001\icad.exe" /dde

USE DDE IS CHECKED

DDE MESSAGE
[printto("%1","%2","%3","%4")]
</pre><HR></BLOCKQUOTE>

Posted: Tue Sep 24, 2002 1:34 am
by jgaunt
In windows explorer you can shift+right-click on a file and it will add "open with..." to the popup. Check if the "always open with this program" is how you want it. Don't forget to check "show all filetypes" so it shows all extensions.
3.04 would only open the first of a group of files selected in explorer - not sure about 3.3

Posted: Tue Sep 24, 2002 9:05 am
by asharpe
Hi Bryan,

Thanks for that although it's not solved the problem. Still get "blah.dwg is not a valid Win32 application" !?? Should I include the [ brackets?

Any other ideas anyone?

Thanks

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Bryan:
<B>Can't give any good answer as I have been here before and have never found one. I can share my listings though.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
OPEN

"C:\Program Files\CADopia\IntelliCAD 2001\icad.exe" /dde

USE DDE IS CHECKED

DDE MESSAGE
[open("%1")]


PRINT
"C:\Program Files\CADopia\IntelliCAD 2001\icad.exe" /dde

USE DDE IS CHECKED

DDE MESSAGE
[print("%1")]

PRINTTO
"C:\Program Files\CADopia\IntelliCAD 2001\icad.exe" /dde

USE DDE IS CHECKED

DDE MESSAGE
[printto("%1","%2","%3","%4")]
</pre><HR></BLOCKQUOTE></B><HR></BLOCKQUOTE>

Posted: Tue Sep 24, 2002 3:53 pm
by Bryan
Yes, include the brackets. Also, you will have to change the path probably, as I am using Cadopia's icad. Just point to wherever icad.exe resides.
Both Icad 2.0 and 3.3 will open all of the files selected thru explorer at once here.

Include all punctuation, quotes and brackets.

If that doesn't work, try it without the dde message.

"C:\Program Files\CADopia\IntelliCAD 2001\icad.exe"

Sure hope something works. Also try what jgaunt said.