Search found 9 matches
- 23 Feb 2012 17:16
- Forum: DOS Batch Forum
- Topic: Batch file formatting, Diskpart formatting
- Replies: 19
- Views: 24341
Re: Batch file formatting, Diskpart formatting
thanks for the reply about the drive letters duely noted and to avoid this mis format happening again, either have no copy of xyz.bin or have the batch file look for your format batch file. so the batch will find it self. for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do if exist &...
- 19 Feb 2012 15:21
- Forum: DOS Batch Forum
- Topic: Batch file formatting, Diskpart formatting
- Replies: 19
- Views: 24341
Re: Batch file formatting, Diskpart formatting
thanks for all of the help guys i have the answer... --------------- @echo off for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%a:\xyz.bin" set drv=%%a: echo y| format %drv% /q /x /v:Empty /fs:ntfs cls exit ------------ (caution, i was testing this out on fri...
- 16 Feb 2012 22:06
- Forum: DOS Batch Forum
- Topic: Batch file formatting, Diskpart formatting
- Replies: 19
- Views: 24341
Re: Batch file formatting, Diskpart formatting
is there a command in batch that presses enter for you? something like format %drv% /q /x /fs:ntfs keypress enter exit i have no idea but am hoping there is a way to make the batch file do what you want if you know the next question, such as do you want to format press enter to continue, or even run...
- 16 Feb 2012 21:07
- Forum: DOS Batch Forum
- Topic: Batch file formatting, Diskpart formatting
- Replies: 19
- Views: 24341
Re: Batch file formatting, Diskpart formatting
OMGWTFBBQ!!! Thats AWESOME!!! thank you som much foxidrive and everyone else for all your help it works! ITS ALIVE thatnk you so much this is exactly what i needed, your help goes far beyond appreciated it is fantastic thank you so much the drive letter was a pain in the ass, now all i have to do is...
- 16 Feb 2012 18:27
- Forum: DOS Batch Forum
- Topic: Batch file formatting, Diskpart formatting
- Replies: 19
- Views: 24341
Re: Batch file formatting, Diskpart formatting
i have tried it like that, @echo off for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%a:\xyz.bin" do set drv=%%a: pause cd (comes up E: drive) pause %drv% (nothing) pause format %drv% /q (required paramater missing and closes promptly) i put pauses in there s...
- 15 Feb 2012 16:46
- Forum: DOS Batch Forum
- Topic: Batch file formatting, Diskpart formatting
- Replies: 19
- Views: 24341
Re: Batch file formatting, Diskpart formatting
could you possibly elaborate on the %%a option? i dont quite understand, ive inserted the %%a (a-z) and it displays the drive letter perfectly, but how do i use the drive letter in batch?
like format %%a:/q?
how can i use the drive letter? thanks
like format %%a:/q?
how can i use the drive letter? thanks
- 15 Feb 2012 05:25
- Forum: DOS Batch Forum
- Topic: Batch file formatting, Diskpart formatting
- Replies: 19
- Views: 24341
Re: Batch file formatting, Diskpart formatting
im just going to have this batch, or .cmd or even a .exe where i can give it an icon and label it as a game or data... I know better and wont click it but someone else looking around on my drive wont. Yes i don't want to give it a letter from windows, im just having trouble with the relative drive l...
- 14 Feb 2012 19:29
- Forum: DOS Batch Forum
- Topic: Batch file formatting, Diskpart formatting
- Replies: 19
- Views: 24341
Re: Batch file formatting, Diskpart formatting
yes, but i just need this one batch to get rid of everything on the drive, without assigning it a letter and without asking for confirmation this would absolutely make my year!
- 14 Feb 2012 19:11
- Forum: DOS Batch Forum
- Topic: Batch file formatting, Diskpart formatting
- Replies: 19
- Views: 24341
Batch file formatting, Diskpart formatting
Hi i am hoping to set up my flash drive with a batch file. Only i know what it does so if someone gets ahold of my drive they will accidentally activate it. I want a batch file to format my entire flash drive. without popups or questions and fast. i am relatively new to batching but have tried %CD% ...