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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 export multiple books to asc files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jqian

USA
Posts

Posted - 10/15/2021 :  12:25:56 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 2021b

Could you please let me know how to export all data books to .dat or .asc files?

Thanks!

jqian

USA
Posts

Posted - 10/15/2021 :  12:44:29 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

I got it:

doc -e W {

save -wh %H c:\TEMP\%H.DAT;

};
Go to Top of Page

jqian

USA
Posts

Posted - 10/15/2021 :  1:57:55 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I'm sorry.
I do have a question.

Using the script as below:

doc -e W {
save -wh %H c:\TEMP\%H.DAT;
};

I can export data in ascii or dat format.
But the saved ascii data have the columns' name A, B, C ... on the top of the data.
Could you please let me know how to export data without the column names on top?

Thanks
JQ
Go to Top of Page

snowli

USA
1386 Posts

Posted - 10/15/2021 :  2:12:16 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can use this instead.
It used expASC xfunction in Origin. It has option to save short name, long name, comments, etc. of data.

U can choose File: Export: ASCII to customize export setting and also click > next to dialog theme to generate script

doc -e w{
expASC path:="C:\tmp\%H.dat";

}

Thanks, Snow
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000