Page 1 of 1

batch format a pen drive

Posted: 02 Jun 2022 16:31
by Dvorak Pietrek
Hi

I want to run a batch file to format a pen drive soon as I plug it in. I have read from several sites but I am not able to do it since I am new on this. Any help?
Thanks

Re: batch format a pen drive

Posted: 03 Jun 2022 15:16
by aGerman
You may want to create a scheduled task and trigger the task with the related event.
Something similar like that:
https://superuser.com/questions/219401/ ... usb-device

Steffen