You sure can.
At the very least, the following works from the command line (ActiveState 5.6.1 build 633)
perl -e "system q{explorer}, q{c:\\temp}"You can put that system in a script, and store the directory in a variable. You must use (escaped) backslashes in the directory path, otherwise the explorer.exe program will be unhappy.
For more fine-grained control over the launching of the process you might want to look into the Win32 and Win32::Process modules.
In reply to Re: Windows Explorer (from Perl)
by grinder
in thread Windows Explorer
by banduwgs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |