Sign in to follow this  
Followers 0
mud409

fileopen, filewrite, is there a filecreate?

4 posts in this topic

is there some function out there that'll allow me to create a txt file similar to the methods filewrite and fileopen work? I'd like to setup a fileopen that creates the file if it does not exsist but I don't really want to use notepad to create the file. thanks in advance to any responses, if any...

Share this post


Link to post
Share on other sites



Share this post


Link to post
Share on other sites

is there some function out there that'll allow me to create a txt file similar to the methods filewrite and fileopen work? I'd like to setup a fileopen that creates the file if it does not exsist but I don't really want to use notepad to create the file. thanks in advance to any responses, if any...

to see if the file exist I will let you find it your self using listview or something,

for creating the file:

$hFile = FileOpen("c:\doit.txt", 2 + 32) ; that is for unicode...

fileclose $hFile

fileopen should create the file for you!

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