
Remember the last time (the really ancient times) when we have hundreds of floppy disks to format just to get it ready to use?
Welcome to the current era, where we have thumbdrives to replace the really-really-i-do-not-really-like floppy disks.
Normally, no one needs to format thumb-drives which are newly bought but some brands of thumbdrives comes with software which autoruns when you click them in My Computer within a Windows Environment.
I have
usbdlm installed which takes quite good care of drive letter assignments but it just doesn't mix well with software like
"Imation Flash Detect".
Back to the subtopic of "Formatting thumbdrives fast", the method I deploy was through cmd scripts and another usb tool called
USB Disk Ejector. We are also utilising some USB Hubs to maximise multitasking. What we are trying to achieve here is...
- Plug in as many thumbdrives we can each time
- Run a script to format all the plugged in thumbdrives currently
- Verify all thumbdrives formatted (Physically)
- Eject all the thumbdrives
- Go to Step 1
I have got to say this before ending with the scripts (pre-beginner's style).
"The hardest part of this task is actually the unpacking of the thumbdrive from the hard (and sharp) plastic packaging using scissors."Another thing is Script 3 is for the paranoid technogeeks, usb device ejection may or may not be successful. In this case, please plug out the thumbdrive and consider it done.
Prerequisites: USBDLM, USB Disk Ejector
Tested in XP Service Pack 2
Script 1: Helper Script for Formatting Disk
Preparation Required:
- Plug in the maximum number of thumbdrives and record down the drive letters used.
- Give it a name, I called it: "Format helper.bat"
- I did 10 at each Go, so its <=1000% more efficient
REM START OF SCRIPT
goto %1
:1
format I: /FS:FAT32 /Q /V:This_Is_New /Y
goto e
:2
format J: /FS:FAT32 /Q /V:This_Is_New /Y
goto e
:3
format K: /FS:FAT32 /Q /V:This_Is_New /Y
goto e
:4
format L: /FS:FAT32 /Q /V:This_Is_New /Y
goto e
:5
format T: /FS:FAT32 /Q /V:This_Is_New /Y
goto e
:6
format U: /FS:FAT32 /Q /V:This_Is_New /Y
goto e
:7
format V: /FS:FAT32 /Q /V:This_Is_New /Y
goto e
:8
format W: /FS:FAT32 /Q /V:This_Is_New /Y
goto e
:9
format Y: /FS:FAT32 /Q /V:This_Is_New /Y
goto e
:10
format R: /FS:FAT32 /Q /V:This_Is_New /Y
goto e
:e
exit
REM END OF SCRIPT
Script 2: Actual Script to execute when the thumbdrives are ready to be formatted
Preparation Required:
- Place this script in the same folder as the previous one
- Only execute when all thumbdrives are ready, Recommended
- We know they are ready, when the drives appeared in My Computer with a Drive Letter
REM START OF SCRIPT
Start "" "format helper.bat" 1
Start "" "format helper.bat" 2
Start "" "format helper.bat" 3
Start "" "format helper.bat" 4
Start "" "format helper.bat" 5
Start "" "format helper.bat" 6
Start "" "format helper.bat" 7
Start "" "format helper.bat" 8
Start "" "format helper.bat" 9
Start "" "format helper.bat" 10
exit
REM END OF SCRIPT
Script 3: USB Disk Ejection Script
Preparation Required: Need to have USB Disk Ejector Program File in the same folder as this script
- Place the USB Disk Ejector program file in the same folder as the script
- Only execute when all thumbdrives are ready, Recommended
- They are ready when the drives are labelled accordingly. i.e, in this case, they should be named as "This_Is_New"
- I renamed the program as usbej.exe just to shorten the script a little
REM START OF SCRIPT
usbej /removeletter i:
usbej /removeletter j:
usbej /removeletter k:
usbej /removeletter l:
usbej /removeletter t:
usbej /removeletter u:
usbej /removeletter v:
usbej /removeletter W:
usbej /removeletter y:
usbej /removeletter r:
exit
REM END OF SCRIPT