Sign in to follow this  
Followers 0
HockeyFan

Script to create a new file

4 posts in this topic

:) Is there code to create a simple text file? I know I can create a directory with DirCreate, but what can I use to create a file?

or

Tell me how I can pass a variable from one script to the other even if the machine reboots...if that's possible. :evil:

Thanks

Share this post


Link to post
Share on other sites



look in help for

FileWrite

FileWriteLine

IniWrite

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

look into fileopen, filewrite, filewriteline, fileread

or iniread, iniwrite

or regread, regwrite

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Thanks guys...I was reading FileWrite literally, as if I had to already have a file open. Just discovered my first test failed due to a typo. :)

Thanks again.

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