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 for Programming
 LabTalk Forum
 open htm by labtalk
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

G.Bartsch

Germany
Posts

Posted - 07/25/2006 :  12:30:12 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
i would like to open a htm file in a subfolder of my origin folder.
for example this works
win -aw file://C:/Help.htm;
but i dont get this running for the folder i want it to run. i tried the following:
win -aw "file://%YLorentzMultiFit\help.htm";
win -aw file://%YLorentzMultiFit\help.htm;
run -s "%YLorentzMultiFit\help.htm";
run -sc "%YLorentzMultiFit\help.htm";
where
%Y=C:/Program Files/OriginLab/OriginPro7/

might be interesting that this also didnt work
win -aw file://C:\Help.htm;

im running short of ideas. maybe someone can help?
thanks!

greg

USA
1380 Posts

Posted - 07/25/2006 :  2:22:55 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Spaces within a reference string are problematic and how you handle them may depend on what browser you are using.

In IE7 (haven't tried 6), you must protect the spaces with quotes :

win -aw "file://C:/Program Files/OriginLab/OriginPro75/help.htm";

but this does not work if Firefox is your default browser. In that case you will need to use short names for those folders with space characters, as in :

win -aw file://C:/Progra~1/OriginLab/OriginPro75/help.htm;


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