Using batch file (cmd file, PowerShell, etc.) to write a protected directory


GeekDad66

New member
Local time
1:05 PM
Posts
5
OS
Windows 11
I am trying to programmatically copy or write files (link or files) to a protected directory (i.e. C:\Program Files, Default Start Menu) using like xcopy, robocopy. Windows prevents doing so by default and I would like to understand HOW to access these protected locations. This applies to Windows 11/10 and I believe earlier versions as well. Can someone light on how to access protected folders and provide example or two?

-Thanks-
 

My Computer

System One

  • OS
    Windows 11

Latest Support Threads

Back
Top Bottom