You might consider:
that way you don't have to count backslashes and don't need a backslash in front of the '$'. - tye (but my friends call me "Tye")my $share= '//'.$server.'/c$'; $share =~ tr#/#\\#; system( "net use j: $share ..." );
In reply to (tye)Re: Variables in system calls
by tye
in thread Variables in system calls
by cybermack72
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |