Formatting Formatting MasterQ (Programmer) (OP) 14 Jul 05 00:44 OK, i'm just starting out in QB and i'm trying to have a user input a drive letter of a USB pen drive and then format it using FAT or FAT32. This is how i am going about it:CODEDim driveletter as stringinput drivelettershell "format " + driveletter + ": /FS:FAT32"when i use that nothing happens at all. what am i doing wrong? or is there a better way to do this RE: Formatting lived (Programmer) 14 Jul 05 15:02 I tried your code with windows 98 and format.com doesnt have the /FS parameter. it worked correctly otherwise. with windows XP i don't know if the SHELL command is working differently but you may try to use SHELL with a single string like this:CODECLSINPUT "Which drive do you want to format "; DriveLetter$FormatString$ = "FORMAT.COM " + UCASE$(DriveLetter$) + ": /FS:FAT32"shell FormatString$ SkyFighterskyfighta@hotmail.comGet the fun out of life!