FileChooser in VbScript?

Is it possible to launch a file chooser in VBScript? I need to prompt the user to select a file and then have my VBscript read the selected file. Real simply in Java but I just haven't found a way from a VBScript to do this.
Who is Participating?
Mike TomlinsonMiddle School Assistant TeacherCommented:
Simple example:

    Set cd = CreateObject("UserAccounts.CommonDialog")
    result = cd.ShowOpen
    If result = True Then
        WScript.Echo "Selected file: " & cd.FileName
    End If

See here for more details:

nub99Author Commented:
Awesome!! Thanks much!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.