
Search found 3 matches
- 13 Dec 2011 09:42
- Forum: DOS Batch Forum
- Topic: Renaming files using another file name
- Replies: 4
- Views: 5521
Re: Renaming files using another file name
sorry ..had a spelling mistake in expansion..it works now. 

- 13 Dec 2011 09:38
- Forum: DOS Batch Forum
- Topic: Renaming files using another file name
- Replies: 4
- Views: 5521
Re: Renaming files using another file name
Thanks so much for your response. I have to understand the delayedexpansion better. I am trying this little code with no success. My Code Set var1=Hello ABC Set var2=ABC Set result=!var1:%var2%=World! echo [!result!] Here is what I get [!result!] What am I doing wrong. I had hoped to get Hello World.
- 12 Dec 2011 13:26
- Forum: DOS Batch Forum
- Topic: Renaming files using another file name
- Replies: 4
- Views: 5521
Renaming files using another file name
Here is what I want to do: I have HTML files named as follows: /content diagram113660819130 - PREPAY AUDIT-content.html diagram126591269210 - CAS MAIN-content.html Image files named as follows: /images diagram1136608191.pdf diagram1265912692.pdf I want to rename the .pdf using the HTML file names RE...