Jump to content
Sign in to follow this  

help me about format driver

Recommended Posts


Sorry all,my English very bad .

I want format driver G: , and code by AutoIT script . ( use conmandline DOS )

But if I use conmand is : format C:

DOS will question very infomations .

I want Run program,will format and no question .

Help me .

Share this post

Link to post
Share on other sites

first u have to tell us what OS do u use

for me I'm using win xp sp2

and this script worked fine with me try it , it will format silently

Run(@ComSpec & " /c " &'format G: /q /y')

by the way u can't format the system drive while u're using the system it wouldn't make Sense

hope I helped

see ya

Edited by star2

[quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u]

Share this post

Link to post
Share on other sites

Thanks star2 vey much .

Ok, My OS is WinXP SP2 .

I will test with your code .

Thanks .

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.