Re: Detecting if unformatted drive K: exist?
- From: Bob I <birelan@xxxxxxxxx>
- Date: Wed, 15 Mar 2006 09:13:17 -0600
A drive can't have a letter until it is formatted.
Matt Adams wrote:
Assume the following situation:
I have a new, sometimes connected (external USB) hard disc with a new partition K: on it. BUT this partition is currently NOT formatted (e.g. with NTFS).
How do I detect from command line (program) if this hard disc resp. partition is currently connected or not ?
Notice: If the partition would be formatted the solution is simple:
if exist "K:\" Echo K: is existing
But with an unformatted but existing partition the command above does NOT work.
So again: Is there a detection command line program which gives me a reliable "yes" (errorlevel=1) or no on this question?
Maybe I need one of these ResourceKit programs from MS or from other software sources
Matt
.
- Prev by Date: Re: Desktop
- Next by Date: Re: how can i remove the sign in screen?
- Previous by thread: Re: Desktop
- Next by thread: Re: Detecting if unformatted drive K: exist?
- Index(es):
Relevant Pages
|