Page 1 of 1

How to check file system of a drive

Posted: Wed May 26, 2010 8:16 pm
by alemrantareq
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:

Re: How to check file system of a drive

Posted: Sun Jun 06, 2010 3:18 am
by mwieder
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."

Re: How to check file system of a drive

Posted: Sun Jun 06, 2010 8:05 pm
by alemrantareq
Thanks mwieder, works perfect !!! :D