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
 Script to call .bat files under Win XP
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

srmcarneir

Brazil
33 Posts

Posted - 03/30/2004 :  3:33:35 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Dear All,

We have a script that successfully calls a batch file with parameters under Win2000 but the same LabTalk lines do not work under WinXP:

run -e %PBatchFile.bat %A $(iStart) $(iEnd) %P %W;

where
%P=C:\path\;
%A=Datafilename.csv;
iStart=1;
iEnd=3;
%W=Y;

It is funny that the batch file also works properly
if called directly from the command prompt of WinXP.

Is there any special settings for LabTalk routines under WinXP?

Best Regards,




Ricardo Carneiro

Mike Buess

USA
3037 Posts

Posted - 03/30/2004 :  4:55:48 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Ricardo,

I'm not aware of any differences between Win2K and WinXP that affect run -e. Is your batch file not running at all? Or just not doing what you want it's designed to do?

Also, it might help to know your Origin version.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 03/30/2004 4:56:27 PM
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