How do I force a batch file to run as administrator?

How do I force a batch file to run as administrator?
Answer
Anyway, follow the steps mentioned below:
  1. Right-click on your batch file.
  2. Click Create Shortcut.
  3. Right-click the shortcut file. Click Properties.
  4. In the Shortcuts tab, click Advanced.
  5. Check the Run As Administrator box.
  6. Click Ok to close the dialog box.
  7. Click on Apply to save the changes. Click Ok to close Properties.
 

Tìm kiếm

Back
Top