Article View: comp.os.os2.misc
Article #17350Re: OS/2 Wishlist (Another to add)
From: Helge Hafting
Date: Mon, 31 Jan 1994 13:55
Date: Mon, 31 Jan 1994 13:55
42 lines
2990 bytes
2990 bytes
In article <rpm.5.000B49CD@sys.uea.ac.uk>, rpm@sys.uea.ac.uk (Richard May) writes:
[...]
> There are times when this would be useful, for example I tend to copy a lot of
> things temporarily from CD to disk, then when I want to delete them, I have to
> manually remove the read only flag on each one, before I can dlete them.
>
> If you were to do this it would have to give a reduced notebook that only gave
> options that made sense to be changed globally.
>
> I saw a very nice util on the Archimedies that could be configured with a
> particular set of file attributes, and then any files who's icons were dragged
> onto it, would have their attributes set to those off the utils. config.. Ie,
> this could be used to clear the raed only flag of any file dropped on it. Is
> there a util for OS/2 to do this, any more to the point it would be nice if a
> future OS/2 included this.
The change-attribute-of-anything-dragged-to-it object is easy to implement
under os/2 today:
1. Make a new program object. This can be done by dragging a program template
from the template folder.
2. Set the "Path and filename" to "x:\os2\attrib.exe" x: is the drive where
os/2 is installed.
3. Set "Parameters" to "-r %*" -r removes the read-only attribute. %* means
substitute the full pathname of anything dropped onto this object.
That's it. Now you have an object which removes the read-only attribute
from anything dropped on it. You can drop several files on it simultaneously.
Dropping a directory will only affect the directory itself, not the files in
the directory.
If you want this remove-readonly object to be a menu option for all files,
then go to the association page of the object's settings. Add the name *
This will allow you to select a bunch of files, bring up their collective
menu, and select open->removeRO for all of them.
Hope you find this helpful.
Helge Hafting
Technical Details
Message-ID:
<2ij2js$3nv@ugle.unit.no>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!sunic!ugle.unit.no!lise.unit.no!haftingReferences:
<ARI.HUTTUNEN.94Jan2232750@gamma.hut.fi> <2huvpb$nc8@panix2.panix.com> <1994Jan25.210940.24480@waikato.ac.nz> <1994Jan25.110111.27404@informatik.tu-muenchen.de> <2i4hue$rut@panix2.panix.com> <rpm.5.000B49CD@sys.uea.ac.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1044c2,54b5a7eb8f6e0e7a X-Google-Attributes: gid1044c2,public X-Google-Thread: 10cd94,54b5a7eb8f6e0e7a X-Google-Attributes: gid10cd94,public X-Google-Thread: 10ca75,54b5a7eb8f6e0e7a X-Google-Attributes: gid10ca75,public X-Google-ArrivalTime: 1994-01-31 20:56:55 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!sunic!ugle.unit.no!lise.unit.no!hafting From: hafting@Lise.Unit.NO (Helge Hafting) Newsgroups: comp.os.os2.misc,comp.os.os2.beta,bit.listserv.os2-l Subject: Re: OS/2 Wishlist (Another to add) Date: 31 Jan 1994 13:55:08 GMT Organization: Norwegian Institute of Technology Lines: 42 Distribution: world Message-ID: <2ij2js$3nv@ugle.unit.no> References: <ARI.HUTTUNEN.94Jan2232750@gamma.hut.fi> <2huvpb$nc8@panix2.panix.com> <1994Jan25.210940.24480@waikato.ac.nz> <1994Jan25.110111.27404@informatik.tu-muenchen.de> <2i4hue$rut@panix2.panix.com> <rpm.5.000B49CD@sys.uea.ac.uk> NNTP-Posting-Host: lise13.lise.unit.no