Files

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I need to find all .js (Javascript files = Text file) files under two
given directories, A and B, merge all files and then apply a class
method I created to the content of this large file.

How can I do this?

Thanks,
Miguel
 
shapper said:
Hello,

I need to find all .js (Javascript files = Text file) files under two
given directories, A and B, merge all files and then apply a class
method I created to the content of this large file.

How can I do this?

Thanks,
Miguel

Use the Directory and File classes. They have static methods for finding,
reading and creating files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top