Sign in to follow this  
Followers 0
Imppilot

Output to Text File

5 posts in this topic

I feel really bad for asking this, as it is a seemingly simple question, but I can't find the answer anywhere.

I want autoit to do somethings (get a username, os, ect) and then output that information as a text file. My plan is to run is at a startupscript for a day and collect all the users on the domains information (we need to update our database badly). But I can't figure out how to output something like the MemGetStats() to something other then a Msgbox.

Cheers...don't kill me :)


"Could be worse. Could be raining."

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

FileWrite("file.txt", "some text")

And don't feel bad, everyone has some off-times. At least you were polite about it.

Edited by Richard Robertson

Share this post


Link to post
Share on other sites

Yeah for fast replies. I'll try those. I was hoping for something like the >file.txt dumps of batch goodness but those work too. It basically will save me leg work of going to everyones computer and logging in, finding out all the system data, logging off (getting mad because Windows isn't updated...you knwo the drill).

Thanks again, I'll post back when I code it all/get free time to code it all.


"Could be worse. Could be raining."

Share this post


Link to post
Share on other sites

HI ,

I am new to Autoit can any of you guys help me how to get the console output into a textfile..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0