I encountered a problem. For example, I have hundreds of.pdf files, such as:
central aaa 01.pdf
akurss bbs 99.pdf
sskpk p12 980 ok.pdf
airchina lufthansa uk mu500.pdf
92 years anniver.pdf
.........
What I want to do is to compile a batch file xxx.cmd. Running it once can automatically change the "spaces" in all the above.pdf files to "-". After running the xxx.cmd file, the above PDF files will be renamed as follows and saved:
central-aaa-01.pdf
akurss-bbs-99.pdf
sskpk-p12-980-ok.pdf
airchina-lufthansa-uk-mu500.pdf
92-years-anniver.pdf
.........
How to write it? Can you give an example? Thank you.
[ Last edited by tommy725 on 2007-4-2 at 06:55 AM ]
central aaa 01.pdf
akurss bbs 99.pdf
sskpk p12 980 ok.pdf
airchina lufthansa uk mu500.pdf
92 years anniver.pdf
.........
What I want to do is to compile a batch file xxx.cmd. Running it once can automatically change the "spaces" in all the above.pdf files to "-". After running the xxx.cmd file, the above PDF files will be renamed as follows and saved:
central-aaa-01.pdf
akurss-bbs-99.pdf
sskpk-p12-980-ok.pdf
airchina-lufthansa-uk-mu500.pdf
92-years-anniver.pdf
.........
How to write it? Can you give an example? Thank you.
[ Last edited by tommy725 on 2007-4-2 at 06:55 AM ]
