Advertisement
Advertisement
| 02.23.2008 at 11:29AM PST, ID: 23187451 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: |
#!/usr/bin/perl -w
use Cwd;
my $currWorkDir = &Cwd::cwd();
$currWorkDir =~ s/\//\\\\/g;
$0 =~ s/^($currWorkDir)\\//;
if (@ARGV < 1) {
print " Usage: $0 <filename>\n";
exit;
}
|