Jump to content

USB-Stick format


Guest Calimero
 Share

Recommended Posts

Guest Calimero

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

Link to comment
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"

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...