Consultor Eletrônico



Kbase P123743: How do I mark a file as read-only from the 4GL on Windows?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/05/2007
Status: Unverified

GOAL:

How do I mark a file as read-only from the 4GL on Windows?

GOAL:

Can a file be made read-only from the 4GL in Windows?

FIX:

Use the following code to make a file read-only on the Windows platform:

OS-COMMAND SILENT VALUE("CMD /C ATTRIB +r " + YourFileNameGoesHere).