TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech World > Technical Discussions

Notices

how to make auto yes batch file..

Technical Discussions


Reply
 
Thread Tools Display Modes
Old 09-06-2009, 04:33 AM   #1
Newbie
 
Join Date: Jun 2009
Age: 24
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 waqas123456 is an unknown quantity at this point


OS: Windows XP


Lightbulb how to make auto yes batch file..

hello,
sir i need a batch file that have auto "yes" fugshion..

i have a bath file to format my usb flash drive..
:::the code is :::

@echo off
for %%i in (h: ) do format/q %%i /FS:FAT32 /x>

but the problem is that is always ask me "are u sure " Y/N"

sir i need a code to auto yes this..

i just click the batch file and my flash driver format automatically..

thankss i shall be very thankfull..
waqas123456 is offline   Reply With Quote
Old 09-06-2009, 04:05 PM   #2
ƒ(ψ)=ΘΊΧφ
 
bakuryu's Avatar
 
Join Date: May 2006
Location: India
Age: 24
Posts: 6,621
Thanks: 19
Thanked 649 Times in 605 Posts
Rep Power: 87 bakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant futurebakuryu has a brilliant future


OS: Windows XP Windows Vista Windows 7


Send a message via Yahoo to bakuryu
Re: how to make auto yes batch file..

Code:
@echo off
for %%i in (h: ) do echo Y|format /q %%i /FS:FAT32
bakuryu is offline   Reply With Quote
Old 09-06-2009, 04:15 PM   #3
Newbie
 
Join Date: Jun 2009
Age: 24
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 waqas123456 is an unknown quantity at this point


OS: Windows XP


Thumbs up Re: how to make auto yes batch file..

thankssssssssss brother... thanksssssssss. its working..
waqas123456 is offline   Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 03:45 PM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional