Jump to content

fileopen, filewrite, is there a filecreate?


mud409
 Share

Recommended Posts

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...

Link to comment
Share on other sites

Link to comment
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!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...