Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #3934

Re: How to "Reset" an USB stick after it has been low-level changed ?

From "Kerr-Mudd,John" <notsaying@127.0.0.1>
Newsgroups comp.os.msdos.programmer
Subject Re: How to "Reset" an USB stick after it has been low-level changed ?
Date 2021-03-24 14:02 +0000
Organization dis
Message-ID <XnsACF78EEB64D38admin127001@144.76.35.252> (permalink)
References <s31n76$1t6f$1@gioia.aioe.org>

Show all headers | View raw


On Fri, 19 Mar 2021 08:25:58 GMT, "R.Wieser" <address@not.available>
wrote: 

[]
> 
> tl;dr:
> Does anyone perhaps know how programmatically to tell the OS to 
> re-initialize an USB stick (so it becomes aware of newly created,
> removed or resized volumes etc.) ?

> 
For Windows (cmdline) there's 
RemoveDrive 
Homepage: http://www.uwe-sieber.de/drivetools_e.html
he also has a restart

Another option:
C++ code source for USB device ejecting can be had from 
http://www.withopf.com/tools/deveject/

but I don't think there's restart code in there.

-- 
Bah, and indeed, Humbug.

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to "Reset" an USB stick after it has been low-level changed ? "R.Wieser" <address@not.available> - 2021-03-19 09:25 +0100
  Re: How to "Reset" an USB stick after it has been low-level changed ? "Kerr-Mudd,John" <notsaying@127.0.0.1> - 2021-03-24 14:02 +0000
    Re: How to "Reset" an USB stick after it has been low-level changed ? "R.Wieser" <address@not.available> - 2021-03-24 17:47 +0100
      Re: How to "Reset" an USB stick after it has been low-level changed ? "Kerr-Mudd,John" <notsaying@127.0.0.1> - 2021-03-26 12:33 +0000

csiph-web