Need support on deleting the registry.pol file from below directory…
C:\Windows\System32\GroupPolicy\Machine\Registry.pol
The action is completed successfully but the file is not getting deleted, is there any permission which I have to set on this folder to delete the desire file?
delete __appendfile
delete __del.bat
appendfile {("del " & pathname of it & “%0d%0a”) of files “Registry.pol” of folders “Machine” of folders of folder “C:\Windows\System32\GroupPolicy”}
copy __appendfile __del.bat
waithidden __del.bat
delete __appendfile
delete __del.bat
Thanks in advance.
Regards, Varun