Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I export a text file and make it read-only?

Status
Not open for further replies.

vacant

Technical User
Aug 5, 2001
35
GB
The database I am currently working on uses TransferText to export text files to various departments that they can use for mail-merge purposes or whatever. However, since the level of IT competence in our building is limited to say the least, I feel it would be best to make these files read-only in an attempt to avert any problems.
Is there a way of automating this, or am I faced with the laborious chore of having to locate each file on the network and alter its properties?
 
Here is an example.

Filename = “C:\teststuff\junk.txt”
Setattr filename vbreadonly
Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top