Sometimes we need to fetch data from notepad into our script. In this case we use Scripting.FileSystemObject
Here is the code
1) To Read from Notepad
2) To Write to Notepad
Write will erase everything from notepad
3)Append Notepad
In case of append, only the num will change into 8. rest remains as write commands.
4) We can add new blank line, skip line and do all other bunch of stuffs
5) Some other cool stuffs
How to Read and Write in Notepad
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment