Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 30534

Agent Procedure append log file

$
0
0

I have an agent procedure that is checking a few directories. If the directory do not exist, it will create them and then I would like it to write to the log file and append it. Currently it overwrites the log.txt file everytime. Here is my procedure

 

executeShellCommand echo %date% %time% %programfiles%\program already exists>>c:\log.txt

 

Any ideas? When I run this same command in the command prompt, it appends the log file.


Viewing all articles
Browse latest Browse all 30534

Trending Articles