You could also use the GUIdialog UDF
The script below works.

 Code:
Break on

$folder = GUIdialog("kix ass")
If @error
	"user pressed cancel"
Else
	?$folder
EndIf

Sleep 5


You should copy the UDF code into the script or put it in a separate file and call it.

GUIDialog() - GUI dialog for selecting folder, file, printer or computer
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.