Jump to content
Sign in to follow this  
behdadsoft

_FileWriteFromArray

Recommended Posts

Hi.

I Used _FileReadToArray Function for read a text contain. then I want write them to a text file with _FileWriteFromArray but don't write any thin in text file.

Please Guide Me.

#RequireAdmin
#include <File.au3>

; Local Var
Local $CreateList = @ScriptDir & "\List.txt"
Local $ReadPath = @DesktopDir & "\Sample.txt"
Local $Array = 0

   Local $ReadList = _FileReadToArray ($ReadPath,$Array,0)
   _ArrayDisplay ($Array)
   _FileWriteFromArray ($CreateList,$ReadList,1)

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

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  

×
×
  • Create New...