Команда attrib: опции, ключи и примеры использования
attrib
Displays or changes file and directory attributes. More information: https://docs.microsoft.com/windows-server/administration/windows-commands/attrib.
- Display the attributes of the files in the current directory:
attrib
- Display the attributes of the files in the current directory and sub-directories:
attrib /S
- Display the attributes of the files and directories in the current directory and sub-directories:
attrib /S /D
- Add the read-only attribute to a file:
attrib +R {{document.txt}}
- Remove the system and hidden attributes of a file:
attrib -S -H {{document.txt}}
- Add the hidden attribute to a directory:
attrib +H {{path\to\directory}}
Также может быть вам интересно:
- 25 января вышло новое крупное обновление Age of Empires II DE: Lords of the West
- И снова sudo, и снова "решето"
- Только одна из десяти компаний ожидает, что все работники вернутся в офисы
- Google Play временно забанил видео-плеер за поддержку неправильных субтитров
- Google прекращает поддержку сторонних приложений в API Chrome-like