Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Not able to run defrag using batch file?

$
0
0

The following script is saved using batch file, which works well under window XP, but not window 7

I have set my account to be administrator, and still not able to run.

If I run as administrator on this batch file, it works, and would like to know on how to code the batch file running as administrator.

Does anyone have any suggestions?

Thanks in advance for any suggestions

C:\WINDOWS\system32\defrag.exe d: -F


Thanks in advance for any suggestions


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>