I am having trouble with a bat file I created to defrag my drives. The file is named defrag.bat.
defrag c: /F/V
defrag d: /F/V
defrag e: /F/V
When I originally wrote this it ran fine from my desktop and in task scheduler. However, now when I run this I get an infinite loop in the command box. It runs fine on other machines but I am hesitant to set it up before I find out what is up with my machine. I have tried removing the switches but that hasn't helped.
Does anybody know what I'm doing wrong?
defrag c: /F/V
defrag d: /F/V
defrag e: /F/V
When I originally wrote this it ran fine from my desktop and in task scheduler. However, now when I run this I get an infinite loop in the command box. It runs fine on other machines but I am hesitant to set it up before I find out what is up with my machine. I have tried removing the switches but that hasn't helped.
Does anybody know what I'm doing wrong?