Jump to content

DriveGetFileSystem and Novell Netware / OES


PaulieG
 Share

Recommended Posts

DriveGetFileSystem() returns the string "NcFsd" for Novell/OES mapped drives under WIndows 10 x64 with Client 2 SP4 IR2 and Windows 7 x64 with Client 2 SP4 IR4.  I did not test with other client software / OS.

AutoitConstants.au3 contains the following:

Global Const $DT_NWFS = "NWFS"

The help file and the on-line reference say:

Quote

$DT_UNWFS ("NWFS") - Typical file system for Novell Netware file servers.

It looks like both the documentation and the global constant definitions should be updated if they are to be correct with respect to the OS/Client combinations I tested with.

Code for demonstration:

; Adapted from DriveGetDrive() sample code
#include <AutoItConstants.au3>
#include <MsgBoxConstants.au3>

Local $aArray = DriveGetDrive($DT_NETWORK)

If @error Then
    ; An error occurred when retrieving the drives.
    MsgBox($MB_SYSTEMMODAL, "", "It appears an error occurred.")
Else
    For $i = 1 To $aArray[0]
        ; Show all the drives found and convert the drive letter to uppercase.
        Local $sDriveLetter = StringUpper($aArray[$i])
        Local $sFileSystem = DriveGetFileSystem($aArray[$i])
        MsgBox($MB_SYSTEMMODAL, "", "Drive " & $i & "/" & $aArray[0] & ":" & @CRLF & "Drive Letter = " & $sDriveLetter & @CRLF &  "File System = " & $sFileSystem)
    Next
EndIf

I tried to submit a bug report but that didn't work.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...