How to check file system of a drive

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
alemrantareq
Posts: 203
Joined: Wed Jul 23, 2008 8:46 am

How to check file system of a drive

Post by alemrantareq » Wed May 26, 2010 8:16 pm

Hi everyone, how are you? Hope just fine. I've made a script with "answer file" to browse the text files. But before making the next scripts, I need to check the file system (NTFS or not) of the drive containing the selected text file. Is it possible with rev ent. 4? Replies are most appreciated........ :lol:

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: How to check file system of a drive

Post by mwieder » Sun Jun 06, 2010 3:18 am

How about shelling out to chkdsk? The first line will tell you the file system type.

get line 1 of shell("chksdk")

"The type of the file system is NTFS."

alemrantareq
Posts: 203
Joined: Wed Jul 23, 2008 8:46 am

Re: How to check file system of a drive

Post by alemrantareq » Sun Jun 06, 2010 8:05 pm

Thanks mwieder, works perfect !!! :D

Post Reply