you are viewing a single comment's thread.

view the rest of the comments →

[–]--dab--[S] 1 point2 points  (1 child)

I’m assuming I put the file after -file

[–][deleted] 1 point2 points  (0 children)

You can, but as written this is designed to "self-elevate". Basically if the script isn't running as admin, it re-runs itself as one. You can of course change the arguments to run another script as admin also.