Sign in to follow this  
Followers 0
Guest Calimero

USB-Stick format

2 posts in this topic

i need a scipt to format my usb stick automaticly

its position is @ h: oder i can define it per "$var[$i]"

i need a script that format it like cmd and format h:

thank you

Share this post


Link to post
Share on other sites



i need a scipt to format my usb stick automaticly

its position is @ h: oder i can define it per "$var[$i]"

i need a script that format it like cmd and format h:

thank you

<{POST_SNAPBACK}>

RunWait(@comspec & " /c format H:","")
or
$drive="H:"
RunWait(@comspec & " /c format " & $drive,"")

Pretty much covered in the Help file's FAQ under "How can I run a DOS program from within AutoIt"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0