hi was not sure were to put this.
anyway I am making a small add-on for windows that when you right click any folder you can generate a tree of the folder/
this add-on uses tree.exe to create the folders contents. anyway the app is working well and I made an setup file for it

the problem is if I use it on folder such as Windows or program files I get "access denied" anyone know how to get past this I left before the command I am using in the regiserty

Code:
cmd.exe /c tree /A /F "%1" > "%1.txt"
I think i need to run as admin but I am unsure how to do this any help will be great thanks,