batch format a pen drive

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Dvorak Pietrek
Posts: 1
Joined: 02 Jun 2022 15:39

batch format a pen drive

#1 Post by Dvorak Pietrek » 02 Jun 2022 16:31

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

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: batch format a pen drive

#2 Post by aGerman » 03 Jun 2022 15:16

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

Post Reply