"Do" command in Windows OS

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
churchken
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 66
Joined: Sun Apr 15, 2007 2:54 pm

"Do" command in Windows OS

Post by churchken » Mon Jul 02, 2007 1:12 am

Hi,

I'm trying to execute a Windows XP "batch" file from within a Rev script.

It appears there is no equivalent "do" command for windows OS. Is there a workaround that would make it possible to execute "c:/mybatch.bat" from within Rev?

Hope I'm not overlooking the obvious.

Thanks for any pointers.
Ken

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Mon Jul 02, 2007 9:41 am

try the shell() function.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

churchken
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 66
Joined: Sun Apr 15, 2007 2:54 pm

thanks

Post by churchken » Mon Jul 02, 2007 2:34 pm

Bvg,

Thanks so much -- exactly what I was looking for.
Ken

Post Reply