At 09:47 PM 9/3/01 +0530, Ariya wrote the following:
>Is there a way to protect IE5 history and cookies from wilful or accidental
>deletion?
Set the Read-Only attribute bit. This bit is used to make a file
write-protected. For example, by setting the CONFIG.SYS file as Read-only,
you may protect the file from accidental deletion. Another use is to set a
few files with the Read-only attribute and delete all the files using a "DEL
*" (Delete all) command; the read only files will not be deleted under
normal circumstances. Certain files in the Win95/98 system are kept as
Read-only by default (e.g., the system registry files). Before you can
delete or overwrite a Read-only file, you must remove the Read-only file
attribute bit.
Windows 95/98 provide a system utility program, ATTRIB.EXE which is usually
stored in the C:\Windows\command\ directory. Open a MS-DOS window and type
"attrib /?' to get the help file.
C:> attrib /?
Displays or changes file attributes.
ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [[drive:][path]filename] [/S]
+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
/S Processes files in all directories in the specified path.
However, please note that if the file is in use or needs to be written to by
Windows, then the read-only setting will hamper the operation and a warning
message will be issued.
--
Gerry Boyd
============= PCWorks Mailing List =================
Don't see your post? Check our posting guidelines &
make sure you've followed proper posting procedures,
http://pcworkers.com/rules.htm
Contact list owner <[EMAIL PROTECTED]>
Unsubscribing and other changes: http://pcworkers.com
=====================================================