You should be able to make a bat file and run the bat file. A bat file is a text file (a file made in Notepad) with the .bat ending. The .bat ending tells Windows to run the commands in it. You would put commands in it to run each drive. So make a Notepad file with the following text in it:
defrag c: defrag d: defrag e:
Put whatever drives you want to defrag in the commands above. One line for each drive. Save the file so that it has a .bat ending to it (for example, you could call it DefragAllDrives.bat). Find the file and double click on it when you want to defrag all of your drives. If it does not work with the word, defrag, you may need to specify where defrag is located. For examle, C:\Windows\system32\defrag c: |