PDA

View Full Version : special characters in command line mode


Joseph G.
21-06-2006, 07:50 AM
Hi,

Using the Arcv2CAD in command line mode this problem faced me : the program won't find a file if it's name or path special (national) characters contains, so I'll get this message : "Error : File does not exist". The file exists of course, and the problem doesn't occur in normal mode, only in command line mode. Without these national characters the same command file works perfectly.
The double quotations don't help.

Is there any solution?

Thanks for any reply,
Joseph

GuthCAD Software Support
21-06-2006, 11:21 AM
Hi Joseph,

Try putting the command line parameters into a text file, and then passing the text file on the command line.

When passing the text file on the command line, the text file must either have the extension .a2c or be preceded by an '@' character. E.g.

a2c40.exe @commandfile.txt
or
a2c40.exe commandfile.a2c

Refer to the user manual topic 'Command Line Operation | Command Line Syntax'

(BTW I don't know for sure that this will be a solution, but the fact that you say that in normal mode the filenames are handled ok would seem to give hope.)

best regards,
Paul G

Joseph G.
21-06-2006, 03:50 PM
Hi Paul,

Thank you for your reply.
Unfortunately no other than this is the way I did it, without success.

Regards,
Joseph

GuthCAD Software Support
21-06-2006, 05:01 PM
Hi Joseph,

Is it possible for you email me the pathname so that we can try and reproduce the problem here? (Maybe also give a screenshot just to make sure that we are seeing the same characters.)

thanks,
Paul G

Joseph G.
21-06-2006, 07:52 PM
Hi Paul,

I saw it done.

Thank you,
Joseph

Joseph G.
09-07-2006, 06:29 PM
Hi,

Well, the problem should be caused by my system.
Trying the same procedure on an other PC, everything works well.
Unfortunately I don't find the trouble, maybe later ...

I'm sorry to bother you,
Joseph

Joseph G.
14-08-2006, 08:37 PM
Hi,

I think I got the knack of it finally.
The problem seems to be the CodePage.
If I use the DOS CodePage instead of the default Windows CodePage, everything will work well.
Hm.

Joseph