Formatting
Formatting
(OP)
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:
when i use that nothing happens at all. what am i doing wrong? or is there a better way to do this
CODE
Dim driveletter as string
input driveletter
shell "format " + driveletter + ": /FS:FAT32"
input driveletter
shell "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
CODE
CLS
INPUT "Which drive do you want to format "; DriveLetter$
FormatString$ = "FORMAT.COM " + UCASE$(DriveLetter$) + ": /FS:FAT32"
shell FormatString$
SkyFighter
skyfighta@hotmail.com
Get the fun out of life!