Sign in to follow this  
Followers 0
Bhutta

formating PenDrive Using Autoit V3 Script

10 posts in this topic

hi,

can anyone help me out , how to force a format on a FlashDrive .

i daily needs to format more than 50 FlashDrives & Many Memory Cards (MMC) .

so... i want to make a programme for this .......

i 've tried the following bat file with the Script :

format k:\ /Q/X

but... oops! no luck

Please anyone post a script for this .

i want to format my k:\ Drive using one single click ...

Thanks in advance.

Share this post


Link to post
Share on other sites



i am still waiting for someone to help me & post a script.........

Share this post


Link to post
Share on other sites

format k: /FS:NTFS /Q /v:VOLUME-NAME /y


Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance.

Share this post


Link to post
Share on other sites

If you are going to do something using the CLI then use @ComSpec in an run or runwait statement. I would read the help files on these commands. They will give more information.

EXAMPLE

RunWait(@ComSpec & " /c " &"DOS command")


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Share this post


Link to post
Share on other sites

any more info ?

Please..............

Share this post


Link to post
Share on other sites

Do not PM me requesting assistance. I have seen your topic and if I felt inclined to help I would have done so already.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Looks like the previous Ban didn't help and you had to create the same subject and doing the same thing again ...

Not smart...

Added a 3 day ban. Now the next time you are back you post your question here and WAIT patiently if people are inclined to answer a question posted.

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Hello,

I'm sorry my previous links weren't helpful, you might try here or here.

Cheers.


Yes yes yes, there it was. Youth must go, ah yes. But youth is only being in a way like it might be an animal. No, it is not just being an animal so much as being like one of these malenky toys you viddy being sold in the streets, like little chellovecks made out of tin and with a spring inside and then a winding handle on the outside and you wind it up grrr grrr grrr and off it itties, like walking, O my brothers. But it itties in a straight line and bangs straight into things bang bang and it cannot help what it is doing. Being young is like being like one of these malenky machines.

Share this post


Link to post
Share on other sites

#Include <Misc.au3>
Global $Drive = "E:"
_RunDos("Format &"$Drive"& /y")

Not sure if this would work.

Share this post


Link to post
Share on other sites

Do not PM me requesting assistance. I have seen your topic and if I felt inclined to help I would have done so already.

I guess Bhutta is working his way down the food chain. It did not help to PM (5AM) me - 'cuz I don't know what else to try than the many ways that have been posted.

[size="1"][font="Arial"].[u].[/u][/font][/size]

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