defrag.bat problrems in xp

By iqstech
Oct 7, 2005
  1. 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?
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...