Logo-small

4.4.10 Files

Q How do I read from or write to a file?
A
(FileDirectory default newFileNamed: 'tmp.txt') nextPutAll: 'stuff'; close.
(FileDirectory default oldFileNamed: 'tmp.txt') contents.
Q How do I delete a file?
A
FileDirectory default deleteFileNamed: 'tmp.txt'
Q How do I prompt the user to select a file or directory?
A
 FileList2 modalFolderSelector
§
FAQ
Parsing
Images

User Contributed Notes

daliot.oh (10 April 2011, 6:49 am)

How do I copy a file with new file's dates be same as original file?

Add a Note

Licensed under Creative Commons BY-NC-SA | Published using Pier |