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 2,013 Posts 718 Joined 2006-02-18 07:07 20-year member UID 50550
Status Offline
I don't know what you mean by quiet mode. Does it mean no interaction? Or running in the background?
If it means no interaction, try adding the /c parameter. If you want it to run in the background without displaying, you can refer to Regarding the issue of specifying a program to run in the background
Credits 7,493 Posts 2,672 Joined 2005-09-02 00:00 20-year member UID 42173 Gender Male
Status Offline
Everyone, be serious.
The owner's question has indeed been ignored by many people.
The cacls command is the full name ChangeAccessControlListSettings, which is to change the "security" settings of files (folders) on NTFS. After testing:
echo y | cacls xxxx cannot succeed. The correct method is:
echo y > 1.txt
cacls xxxxxxxxx < 1.txt
del /f /q 1.txt
[ Last edited by electronixtar on 2006-5-14 at 21:37 ]