replace string in filename
Posted: 10 Oct 2008 07:28
hi
i want to execute lpr command replacing a substring in the filename
for example
LPR -S 192.168.3.20 -P AUTO d:\sample.txt
I want to replace the word sample with test because i really want to print file d:\test.txt
Is there any way i can do this with one command ?
i want to execute lpr command replacing a substring in the filename
for example
LPR -S 192.168.3.20 -P AUTO d:\sample.txt
I want to replace the word sample with test because i really want to print file d:\test.txt
Is there any way i can do this with one command ?