Re: get drive type

From: Stefan Poehn (stefan.poehn_at_IH8SPAMbms.de)
Date: 07/16/04


Date: Fri, 16 Jul 2004 08:58:00 +0200

See below..
"Liz" <Liz@nospam.com> schrieb im Newsbeitrag
news:E7GJc.88002$%_6.19416@attbi_s01...
>
> "Michael Borgwardt" <brazil@brazils-animeland.de> wrote in message
> news:2lmuh0Fe3lk2U1@uni-berlin.de...
> > Stefan Poehn wrote:
> > > is there any possibility to find out the drive type of a given path
> ("C:",
> > > "D:", etc.)? I want to search through a complete hard disk drive to
find
> a
> > > file with a given name, but not search through a cd rom drive, etc.
> >
> > Not in a platform-independant way. On Linux, you'd have to parse
> /etc/fstab;
> > on Windows you'll probably have to use system calls via JNI.
>
> There must be a way cuz I've run programs on pc that show this info. You
> might
> have to call some system functions.
>

Do these programs start without using a .dll or .so-File? If it is a Unix
program, does it run without using /etc/fstab?



Relevant Pages

  • Re: Problems retrieving RAW files
    ... have a look at this link: http://www.cdroller.com/ if you use a Windows PC. ... schrieb im Newsbeitrag ... I get an error message that states "cyclical ...
    (rec.photo.digital)
  • Re: ADOX, ADODB and Windows 7
    ... "cko" schrieb im Newsbeitrag ... please tell us how to get working our application on windows 7. ... adodb.dll version 7.10.6070.0 to put into the GAC, ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)
  • Re: Windows XP professional Problem
    ... "Arsalan" schrieb im Newsbeitrag ... > Respected sir ... > i am having a problem in starting windows Xp ... ...
    (microsoft.public.windowsxp.security_admin)
  • Re: "Run as..." is not executing program
    ... "Hermann Warnke" schrieb im Newsbeitrag ... > Unfortunately the key mentioned in the article doesn't exist on my Windows ... You have to activate the explorer option "Open ...
    (microsoft.public.windowsxp.general)
  • Re: restart application
    ... "aa" schrieb im Newsbeitrag ... > How to write windows application in VB.NET, ... > should restart ...
    (microsoft.public.dotnet.framework.windowsforms)