Jump to content
Sign in to follow this  
MSLx Fanboy

Restrict FileSelectFolder to Drive

Recommended Posts

Is there a way to allow a user to only select a drive from FileSelectFolder, and not go any deeper? I'm writing a GUI for cdburn (resource kit), and need the user to just select a drive.

Thanks


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

i don't think so... but i would use this

DriveGetDrive

--------------------------------------------------------------------------------

Returns an array containing the enumerated drives.

DriveGetDrive ( "type" )

Parameters

type Type of drive to find:

"ALL", "CDROM", "REMOVABLE", "FIXED", "NETWORK", "RAMDISK", or "UNKNOWN"

just test for the "CDROM"

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

hehe, I looked up and down the tree for that...I just didn't look at that function ;)


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

You love to go out of your way to make people think about what you say?

Anyways...All I have to do now if find a cmd-line app to create iso files...oh joy...


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...