The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Problem loading OPJ file with long pathnames (2nd)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
schalkbe Posted - 09/10/2001 : 10:13:11 AM
Hi,

like posted by marko entering

origin61.exe "P:\Test\New Folder, Level One\New Folder, Level Two\New Folder, Level Three\99 mm TT, 1.0 mm XXX, 2.2 mm HHH, 0.5 mm HW, Tc1180.OPJ"

at a command prompt in the directory where your origin61.exe is located results in the error

"P:\Test\New Folder, Level One\New Folder, Level Two\New Folder, Level Three\99 mm TT, 1.0 mm XXX, 2.2 mm HHH, 0.5 mm HWP:\Test\New.OPJ" cannot be found, check path and file name please.

This must be due to an error how Origin handles the command line arguments, since a test with a program test.exe (instead of origin61.exe) gives the correct results, even with much longer arguments.

The WinMain function of test.exe is


int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
return MessageBox(NULL,
lpCmdLine,
"Command Line Echo",
MB_OK);
}


Are there any comments from the Origin programmers on this topic?

Regards,
schalkbe
3   L A T E S T    R E P L I E S    (Newest First)
marko Posted - 09/27/2001 : 03:56:36 AM
Hi Greg,

thanks for your response!

I wasn't so aware of that the removal of spaces in that particular case can help, thanks for pointing that out.

Yes, you are right I should seperately address this issue to Originlab directly.

Marko

greg Posted - 09/26/2001 : 1:12:49 PM
There is an Origin problem with this particular pathname that will have to be passed along to the programmers. You can get around the problem by using start "P:\Test\New Folder, Level One\New Folder, Level Two\New Folder, Level Three\99 mm TT, 1.0 mm XXX, 2.2 mm HHH, 0.5 mm HW, Tc1180.OPJ" provided that Origin has been run on your system and (therefore) registered its 'ownership' of OPJ files. If you have multiple versions of Origin on your system, the start command will launch the most recently launched version of Origin.

For a technical problem like this you will get better response if you contact your Origin tech support directly - either through your dealer in the case of international customers or through phone or email for US and Canadian customers. OriginLab does monitor the Forum, but it is mostly designed as a user forum.

marko Posted - 09/26/2001 : 06:09:28 AM
Dear Origin-Team,

I wonder why there is absolutely no comment on this topic from your side. Since I posted my somewhat confusing first message concerning this issue and Gregs answer there was nothing heard up to now.

Schalkbe gave a detailed description of the issue and it should be quite easy to reproduce the error! So, I wonder why you still didn't seem to have had a look into the routines which transfer the list of command line arguments during a DDE call when an Origin server is running...

Would be nice to hear from you.

Regards,
Marko


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000