Help for this page
$ScriptPath = q(\\SERVER\C\$\APP\BIN); $file = "$ScriptPath\\somefile.txt"; $file =~ s/\Q$ScriptPath\E\\//; print $file;