This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How can I check if the system is NTFS/FAT?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2008
05:12 PM
How can I check if the system is NTFS/FAT?
Hy guys,
We are using Installshield 2008 Premiere to deploy our application. I was wondering (I need it in my installer) if I can check what type of system is the target system for the installation ? (NTFS/FAT/FAT32..)
Based on this I need to do some different actions ..
Has someone encounter this before ?
Thanks in advance,
Daniel
We are using Installshield 2008 Premiere to deploy our application. I was wondering (I need it in my installer) if I can check what type of system is the target system for the installation ? (NTFS/FAT/FAT32..)
Based on this I need to do some different actions ..
Has someone encounter this before ?
Thanks in advance,
Daniel
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2008
07:50 PM
I don't think there's anything built in; however, searching these forums and the KB for "GetVolumeInformation" will give sample code that you can use to determine this...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 27, 2008
02:12 PM
CHKDSK /L
will show you if it is NTFS.
I prefer to do this:
CHKDSK /L > nul 2> nul
IF ERRORLEVEL 1 ECHO.Drive is FAT32.
That pipes the output and stderr to nul and you check the error level yourself. Since the /L option is not applicable to FAT32 drives, you will get an error and know that it is FAT32.
Regards, Ron
will show you if it is NTFS.
I prefer to do this:
CHKDSK /L > nul 2> nul
IF ERRORLEVEL 1 ECHO.Drive is FAT32.
That pipes the output and stderr to nul and you check the error level yourself. Since the /L option is not applicable to FAT32 drives, you will get an error and know that it is FAT32.
Regards, Ron