Solved

Only read files

Posted on 1998-05-21
1
129 Views
Last Modified: 2010-04-06

HOw can i know when an file is an only reading file?

:) Thanks!
0
Comment
Question by:suetonio
1 Comment
 
LVL 1

Accepted Solution

by:
Socrates050697 earned 40 total points
ID: 1347100
use FileGetAttr as follows


  if (FileGetAttr('myfile.xxx') and faReadOnly)>0 then
    ShowMessage('is read only')
  else
    ShowMessage('not read only');



Socrates
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Simple Delphi Question 9 90
Delphi - replicating a form 8 74
Run video youtube webbrowse 10 62
Tembedded WB animatid gifs not animated on some pcs 2 80
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question