erikson Posted February 9, 2007 Share Posted February 9, 2007 hi. i whant to make a script, that open a browse file gui and after i sellect the .exe file , run it i have FileOpenDialog("Please Select a Program to Launch", @ProgramFilesDir, "exe (*.exe)", 1 + 2) how i run the selected file? Link to comment Share on other sites More sharing options...
jvanegmond Posted February 9, 2007 Share Posted February 9, 2007 $File = FileOpenDialog("Please Select a Program to Launch", @ProgramFilesDir, "exe (*.exe)", 1 + 2) If @error Then Exit ;the user pressed cancel Run($file) github.com/jvanegmond Link to comment Share on other sites More sharing options...
/dev/null Posted February 9, 2007 Share Posted February 9, 2007 i have FileOpenDialog("Please Select a Program to Launch", @ProgramFilesDir, "exe (*.exe)", 1 + 2)how i run the selected file?what does the help file say about that? See sample for FileOpenDialog() and Run() or ShellExecute() __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
MHz Posted February 9, 2007 Share Posted February 9, 2007 Relative. FileChangeDialog() changes working dir for you. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now