PDA

View Full Version : Format Drive or hard with AMS


Peyman
10-06-2007, 05:36 AM
How Can format a drive with a script in AMS ?

rhosk
10-06-2007, 06:28 AM
Why in the %^&$# would you want to format a hard drive? Just curious. Do you really think you're going to get an answer here?

Peyman
10-06-2007, 06:45 AM
no my mean is Format Drives For two hard disks in my computer.
I'll make a program with AMS that Format my Drivers or hard disks.
why my question is wrong ?

I'm sorry, i cant writing english well.

arb
10-06-2007, 06:48 AM
peyman jan chera az batch file estefade nemikonid?

bi darde sar ba @echo off

rhosk
10-06-2007, 07:00 AM
That's just it. If you want to format a hard drive, start Windows Explorer, highlight the drive, right-click and select "Format...".

Why do you need AMS to do this?

Peyman
10-06-2007, 07:13 AM
peyman jan chera az batch file estefade nemikonid?

bi darde sar ba @echo off

na man mikham dakhele khode AMS estefede konam be ebarati mikham barname besazam ba keifiati bala ama engar in doostemoon motevajeh nist (rhosk) mige boro roosh rast kilik kon va formato bezan age mitooni behesh hali kon man chi migam.
batch file keifiate karo miare paeen, safhei siah ke codha tooshan.

arb
10-06-2007, 07:14 AM
May be he wants to create an OS shell

arb
10-06-2007, 07:20 AM
na man mikham dakhele khode AMS estefede konam be ebarati mikham barname besazam ba keifiati bala ama engar in doostemoon motevajeh nist (rhosk) mige boro roosh rast kilik kon va formato bezan age mitooni behesh hali kon man chi migam.
batch file keifiate karo miare paeen, safhei siah ke codha tooshan.

bebin 2 halat dare : 1. age mikhai safe siahe naiad ke az @echo off estefade kon va minimize runesh kon 2. age mikhai file khareji nadashte bashi ham ba hamoon ams ye batch file besaz va ejrash kon va bad az ejra paakesh kon

in yaroo nemidoone to aslan chera mikhai ba ams format koni driveto

Peyman
10-06-2007, 08:57 AM
to mitooni ye kode toop bara format bezari ?

Desolator
10-06-2007, 02:09 PM
Mind telling us what does that mean?

arb
10-07-2007, 02:15 AM
I think he wants to create some shell for his oprating system

Here is your formatting tool

is that what you want?

Desolator
10-08-2007, 12:24 AM
Do you understand that this could be used to destroy innocent peoples' data?

arb
10-08-2007, 02:07 AM
could be used to destroy

It will get confirmation before do the job, by the way if you want to destroy some people's data you can simply delete some system files without confirmation !

Desolator
10-08-2007, 03:21 AM
Well I'm not sure, as I didn't dare to try it. And nor I ever will.

arb
10-08-2007, 03:35 AM
So how you can format your drives when you have not any OS except DOS, In this case you must use format command with own arguments and it's exactly like my codes, am I wrong?

arb
10-08-2007, 04:39 AM
I didn't dare to try it.

People must try to know everything but it's not mean that you should try everything you know.

RizlaUK
10-08-2007, 05:05 AM
i can make you a dll that invokes the windows shell format window, ill look into it later :yes

RizlaUK
10-09-2007, 08:32 AM
Here, look here
http://www.indigorose.com/forums/showthread.php?t=21454