JP>> A one-line script:
JP>>
JP>> attrib /s /a:d -a c:\*
JP>>
RN> I don't understand the switch "a:d -a"
RN> or is this 4OS2?
The /A option, to include and exclude files from processing by their
atributes, is not present in IBM's 16-bit ATTRIB command that is supplied with
OS/2. However, as you correctly guess, the ATTRIB command built into JP
Software's 4OS2 supports it (as indeed do many other 4OS2 built-in commands
such as COPY, MOVE, DEL, REN, and FOR -- this is one of the reasons that 4OS2
is highly recommended to anyone who uses the command line for anything but the
most trivial usage).
Those people who don't want to replace their command interpreters with 4OS2
can *still* have an ATTRIB command that supports the /A switch by downloading
the OS/2 Command Line Utilities version 2.0 and using the 32-bit ATTRIB
command that is included in that package, which also supports the /A option.
So there's now *no* excuse for any OS/2 user not having an ATTRIB command that
supports the /A option. (-:
------------------------------------------------------------------------------
4OS2 can be downloaded by following the FTP links from http://www.jpsoft.com .
------------------------------------------------------------------------------
WHERE TO FIND OS2CLU
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
The OS2CLU02 distribution archive (available as both OS2CLU02.ZIP and
OS2CLU02.RAR, to cater to different tastes) can be File Requested by
anyone at any time of the day from the following Fidonet nodes:
1:109/921.0 TSR BBS in the U.S.
2:257/609.0 Air Applewood BBS in the U.K.
1:17/23.0 Marsh BBS in Canada
It is also available on any Fidonet site around the world that carries the
Fidonet file distribution echo that is hosted by Fernwood BBS in the U.S..
It can also be found on the Hobbes FTP site run by New Mexico State
University in the U.S., and on the LEO FTP site in Germany. (Point your FTP
clients at hobbes.nmsu.edu and ftp.leo.org, respectively)
------------------------------------------------------------------------------
¯ JdeBP ®
--- FleetStreet 1.22 NR
114/477
143/1
* Origin: JdeBP's point, using Squish (2:257/609.3)
|