Location of the log file

Advanced programming using WinTask scripting language

Location of the log file

Postby Hamadi on Wed Mar 19, 2014 10:25 am

Hi,
Can I change the location of the log file?
Hamadi
 
Posts: 21
Joined: Wed May 25, 2005 10:18 am

Re: Location of the log file

Postby TechSupport on Fri Mar 21, 2014 9:58 am

Hello,

You can change the default location for the logfile using LogFile WinTask function. For example at the beginning of the script (after the Dim and Functions if any) :
LogFile("c:\mylogs\my_script.log",1,0)

Regards.
WinTask Tech Support
TechSupport
 
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am


Return to Scripts programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron