Microsoft® Visual Basic® Scripting Edition
File Input/Output Constants
Language Reference |

See Also


The following file input/output constants can be used anywhere in your code in place of actual values:

Constant Value Description
ForReading 1 Open a file for reading only. No writing to this file can take place.
ForWriting 2 Open a file for writing. If a file with the same name exists, its previous contents are overwritten.
ForAppending 8 Open a file and write to the end of the file.


© 1996 by Microsoft Corporation.