Rats, got to this one too late. Good answer Mel.
Here is a link to a great site for DOS commands you can SHELL to:
www.easydos.com
Pete
------------------
[This message has been edited by Pete Mantle (edited April 03, 2007).]
Announcement
Collapse
No announcement yet.
Change Read Only Files
Collapse
X
-
Guest replied
-
Thanks, works just great.
I should have thought of that, but I didn't.
Long live PB Forum
Jack
------------------
Leave a comment:
-
Oops, already answered while I checked!
regards, Ian
------------------
IRC
[This message has been edited by Ian Cairns (edited March 29, 2007).]
Leave a comment:
-
Well, it's been a while since I used PB/DOS and the help file
doesn't specifically state this but have you tried using wild
cards?
------------------
Did some testing. Apparently not. Please disregard. Oh well.
------------------
Further testing:
Shelling out to DOS does.
SHELL "ATTRIB -R C:\PBDOS\*.EXE"
[This message has been edited by Mel Bishop (edited March 29, 2007).]
Leave a comment:
-
Change Read Only Files
Let's say that c:\junk contains multiple files that are 'read only'
I am changing that attribute one file at a time using a looping
structure/DIR$/ATTRIB. Works just fine, but it's not to my liking.
How do I turn the 'read only' attibute to off in c:\junk using a
single statement?
Suggestions and/or push in the right direction is requested.
Thanks, Jack
------------------
Tags: None
Leave a comment: