venerdì, settembre 21, 2007

Script DISKPART

If you have, like me, an external dynamic disk and you have to active it every time, you can use a script like this one:

create a txt file script.txt in c:\ with the diskpart commands you want.
I need this commands to active the disk : select disk 1 , online.

then create a file disk.bat with this ms-dos command:

diskpart.exe /s c:\script.txt
and if you want you can create a link to disk.bat in your Autostart Programs menu.

Nessun commento: