ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme Lacoste <jerome.laco...@smartcardsystem.com>
Subject RE: Reminder: [SUBMIT] Attr, a chmod equivalent for Windows
Date Fri, 03 Aug 2001 16:37:31 GMT
> Yes, I know that :-). I'm going through my list. What will happen if this
> is run on Unix. What does it do?

It calls the Windows 'Attrib' program equivalent to 'chmod' on Unix.

We had a thread on it just before it was submitted. (It was submitted by
somebody else, somebody proposed a change, I implemented it)


Here's Attrib help on Windows 2000.
-----------------------------------
Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [[drive:] [path] filename]
       [/S [/D]]

  +   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 matching files in the current folder
      and all subfolders.
  /D  Processes folders as well.


Mime
View raw message