x


Text file question

Hello,

I am looking for some manual, guide of how to create, write, read, and search in a text file, and what are the commands.

Is there any good page for that?

Thanks!

more ▼

asked Aug 08 '11 at 12:44 PM

Dreeka gravatar image

Dreeka
129 50 62 65

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

You probably want the MSDN pages on the topic:

  • System.IO: The namespace containing all the below classes
  • File: contains methods for reading and writing. Probably the easiest way in combination with Filestream.
  • FileStream: allows for reading and writing
  • Path Useful for finding paths and joining paths
  • DirectoryInfo

The Application class also contains some useful properties for getting the app path.

more ▼

answered Aug 08 '11 at 02:19 PM

Peter G gravatar image

Peter G
15k 16 44 136

Thanks :)

Aug 09 '11 at 10:21 AM Dreeka
(comments are locked)
10|3000 characters needed characters left

This and this might help you.

more ▼

answered Aug 08 '11 at 12:50 PM

mikebelotti gravatar image

mikebelotti
428 3 4 9

Text Assets aren't good for writing to because they are serialized with the rest of your assets and you can't write to them, only read from them.

Aug 08 '11 at 02:24 PM Peter G
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x12
x8

asked: Aug 08 '11 at 12:44 PM

Seen: 416 times

Last Updated: Aug 09 '11 at 10:21 AM