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 for Programming
LabTalk Forum
path to graph template
New Topic
Reply to Topic
Printer Friendly
Author
Topic
white.string
Germany
Posts
Posted - 07/06/2005 : 10:04:07 AM
Origin Version (Select Help-->About Origin): 7.5G SR3
Operating System: Win XP
Hi,
I'd like to use a graph template mytemplate.otp which is located on a network \\server1\myfiles\templates
using something like
%J="\\server1\myfiles\templates\";
%L="mytemplate.otp"
Case A: win -t plot %J%L; doesnt work, but
Case B: win -t plot "\\server1\myfiles\templates\mytemplate.otp" does. Is there any mistak in case A? Thanks for any comment!
Rolf
greg
USA
1380 Posts
Posted - 07/06/2005 : 3:53:14 PM
All you need to do is protect any backslashes from getting interpreted by Origin by quoting your string variables, as in:
%J="\\server1\myfiles\templates\";
%L="mytemplate.otp"
win -t plot "%J%L";
white.string
Germany
Posts
Posted - 07/07/2005 : 05:18:24 AM
perfect.
Thank you, greg!
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Viewer Forum
Origin Learning Edition Forum
Origin Forum for Programming
Forum for Python
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
LabTalk Forum
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000