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 for Programming
 LabTalk Forum
 file path length limit?

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
peter.cook Posted - 05/28/2004 : 08:36:15 AM
HI,

Is there a limit to the number of characters Origin (or Windows 2000) can use when saving files via LabTalk or Origin C?

eg save -w data1 \\server1234567\folder1234567\data1.dat;

Cheers,

Pete

2   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 05/28/2004 : 10:49:51 AM
I am not sure about LT, that usually comes with its own limits as part of the interpreter's working.

In OC, are you using


int Worksheet::ExportASCII(LPCSTR lpcszFilename, DWORD dwCntrl, char cSeparator = '\t', int nR1 = 0, int nC1 = 0, int nR2 = -1, int nC2 = -1);



That will then just follow standard OS limitation on path length.

CP


rlewis Posted - 05/28/2004 : 09:06:17 AM
The following are defined in OC_const.h


#define MAXLINE 120
#define NAME_SIZE 25
#define SHORT_NAME_SIZE 12
#define MAXFULLPATH 260 //MAX_PATH in win32 is defined as 260
#define MAX_FILENAME 266 //to allow for .xxx extension

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