Hi guys, i'm having a problem with my script that uses system command to run Runas.exe with a variable. The idea is just to make Perl ask for the user to run runas.exe with and then execute the command string with System().
Here's the command string i'm trying to make System to run:
runas /user:domain\$user "c:\Program Files\Internet Explorer\iexplore.exe \"c:\""The only variable that needs to be interpolated is $user but all those quotes and escapes are creating a headache for me.
In reply to System command with quotes and variables by mellin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |