I've got an external HDD that is hooked up thorugh the network using RJ45 LAN connection. Basically its a networked HDD that is connected to my switch. Now I'm trying to work out a way to defrag and scandisk it on the network without disconnecting it and running it off USB, which I dont really want to do. If I got into my CMD prompt and type M: (Enter) the drive or dir comes up and I can scan the files. Now my question here is, is there a DOS or CMD prompt command that can be used for a defrag and a scandisk, obviously one at a time, like scandisk first followed by a defarg later on. What I did after I typed M: I typed defrag than Enter and I got an error telling me that defrag is not a recognised command.