Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 23 Posts 13 Joined 2009-06-02 07:33 17-year member UID 146527 Gender Male
Status Offline
In the root directory bat
@echo off
mkdir \a\b\c
attrib +s +h +r a /s /d
Why does the folder a have an effect, but the subfolders of a are not affected?
Credits 131 Posts 72 Joined 2008-02-24 14:31 18-year member UID 111317 Gender Male
Status Offline
/S processes matching files in the current folder and all its subfolders.
/D also processes folders. It seems the original poster still doesn't understand the functions of these two parameters...