my $sMSSR = "//fbl/NAS/WINPHO/MangoSMD/ENG/v-xiwe/R4/TOOL/exe/filters/MSSRAudioApp.exe -decode";
my $sSMD = "//fbl/cns/VILFBLHPCCOM167/IPE155848/v4t58992.40hr.winphone/SMD";
while(<DATA>)
{
chomp;
s!\\!/!g; # change to '/'
(my $news = $_ ) =~ s!//FBL//RFS!$sSMD!i;
(my $new1 = $news) =~ s!^(.+)/(.+?)$!$1!;
my $sCmd = "$sMSSR $_ $news -audio\n";
$sCmd =~ s!/!\\!g; # reverse to '\'
#print OUF "$sCmd";
print "$sCmd";
}
__DATA__
abc\\xyz\\FBL\\RFS 作者: TrishaTie 时间: 2014-03-25 17:26 回复 6# jason680
Emm, thanks for the answer, but I think according your way, the script become a little more complex.