Jump to content

Recommended Posts

Posted (edited)

Hey,

In my script, I have to deal with 10 .txt files at the same time. At first I thought that I could open the 10 files (FileOpen), do everything I need to do (write stuff in each files) then close each files (FileClose).

The thing is that it doesnt work. There seem to be a maximum number of files that you can open at the same time.

What would be the best way to deal with all these files?

If I Open/Close each file each time, will it slow my script ALOT? (Ill need to Open the files 5000++ time)

Thanks,

;)

Edited by Dieuz
Posted (edited)

I am only editing each files, not reading.

My script is gathering result and then sorting them in different .txt files.

It's why I need to have all files "open" to be able to write in each since I dont know which one will be used.

Edited by Dieuz

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
  • Recently Browsing   0 members

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