F/u to: DEL /a: /e /z whatever.ext
Given:
what else would cause
DEL whatever.ext
not to work as expected?
Given:
Code:
del /A: /f /z
what else would cause
DEL whatever.ext
not to work as expected?
By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!del /A: /f /z
ACLs - not sure what that is
c:\program files (x86)\common files\microsoft shared\dao> ICACLS dao360.dll /grant vefatica:F
processed file: dao360.dll
Successfully processed 1 files; Failed processing 0 files
c:\program files (x86)\common files\microsoft shared\dao> del dao360.dll
Deleting C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\dao360.dll
1 file deleted
subinacl /file test.txt /setowner=domain\user_id
I don't know. Try it.Does ICACLS then need to be run in the fileToWorkOn's folder, not say, C:\
v:\> takeown /f "c:\Program Files (x86)\Common Files\Microsoft Shared\ink\rtscom.dll"
SUCCESS: The file (or folder): "c:\Program Files (x86)\Common Files\Microsoft Shared\ink\rtscom.dll" now owned by user "JJ\vefatica".
v:\> ICACLS "c:\Program Files (x86)\Common Files\Microsoft Shared\ink\rtscom.dll" /grant vefatica:F
processed file: c:\Program Files (x86)\Common Files\Microsoft Shared\ink\rtscom.dll
Successfully processed 1 files; Failed processing 0 files
v:\> del "c:\Program Files (x86)\Common Files\Microsoft Shared\ink\rtscom.dll"
Deleting C:\Program Files (x86)\Common Files\Microsoft Shared\ink\rtscom.dll
1 file deleted
>& nul:
help redirection
for more info.