Sign in to follow this  
Followers 0
MSLx Fanboy

Restrict FileSelectFolder to Drive

6 posts in this topic

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

i knew that you knew that i knew that you knew that

i figured that you figured that i figured that

you knew that!

8)


NEWHeader1.png

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

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...

Try

http://unattended.msfn.org/global/cdimage.htm

Use the Gui to figure out the command line

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  
Followers 0