J
John Yoo
Hi, I am new to PERL and have a string manipulation question.
I found a DOS command program called xxmklink that creates shortcuts
for a given file. The syntax is: xxmklink "path of the shortcut name"
"path of the object file name"
I would like to find all the .bat files in its directory and all
subdirectories. Then capture all the characters from the last "\" to
".bat" for the shortcut name. For example, the command finds
"C:\some_dir\another_dir\a_filename.bat, then the shortcut name is
a_filename. What command(s) should I use? How is this written? Is
this possible?
[note: I am using AcitvePerl for Windows.]
Any advice will be greatly appreciated.
Thanks!
John
I found a DOS command program called xxmklink that creates shortcuts
for a given file. The syntax is: xxmklink "path of the shortcut name"
"path of the object file name"
I would like to find all the .bat files in its directory and all
subdirectories. Then capture all the characters from the last "\" to
".bat" for the shortcut name. For example, the command finds
"C:\some_dir\another_dir\a_filename.bat, then the shortcut name is
a_filename. What command(s) should I use? How is this written? Is
this possible?
[note: I am using AcitvePerl for Windows.]
Any advice will be greatly appreciated.
Thanks!
John