bhoo November 4, 2010 at 02:54:43 Specs: Windows XP, 512
Hi, i have to rename all the files ina directory with their header information. Now my problem is there may two or more files with the same header say "account report" is the header, Now if use a batch script to rename these files only the first file gets renamed teh second file fails because the file name is already exists.. Can any body help me to solve this i want to rename the second file with teh same header as "Account report1" and then 3rd file to be "Account report2" so on.. Please help me to write this batch.
I have code that will rename the files with teh header. My concern is if two files has the same header say "Report" then the first file will get renamed as Repor.DOC and the second filr with the same header will fail with the error as " file name already exists" So what i need to do with this??
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.