Ярлык для создания чего-то только для чтения/не только для чтения

Существует ли окна (проводник), ярлык или немышь ориентировали команду для создания переключателя состоянием данного файла только для чтения?

5
задан 16.03.2010, 21:42

2 ответа

Работы под XP: Alt+Enter Alt+R входит

5
ответ дан 07.12.2019, 17:30

attrib то, что Вы ищете:

attrib +r readonlyfile.txt
attrib -r writeablefile.txt

help attrib говорит:

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.
  [drive:][path][filename]
      Specifies a file or files for attrib to process.
  /S  Processes matching files in the current folder
      and all subfolders.
  /D  Processes folders as well.
2
ответ дан 07.12.2019, 17:30

Теги

Похожие вопросы