You are here

I'm trying to run a Toucan script file from a Windows XP's command line

2 posts / 0 new
Last post
cwojdak
Offline
Last seen: 13 years 8 months ago
Joined: 2011-03-15 16:15
I'm trying to run a Toucan script file from a Windows XP's command line

I'm trying to run this command

toucan.exe --script="dofile(getscript("TEST"))" -l="C:\log.txt"

The error I get is

Toucan 3.0.4 16:03:30
Date: 2011-03-15
Computer Name: Chris
Operating System: Windows XP (build 2600, Service Pack 3)

Cannot run lua file: Error in GetScriptPath (arg 1), expected 'wxString const &' got 'nil'
Elapsed: 00:00:00
Finished 16:03:30

What am i doing wrong. Can someone please help me out?

kaufman
Offline
Last seen: 8 years 2 weeks ago
Joined: 2006-02-04 14:09
the name of the script has to

the name of the script has to be enclosed in double brackets:

toucan.exe --script="dofile(getscript([[TEST]]))" -l="C:\log.txt"

Log in or register to post comments