Link to home
Start Free TrialLog in
Avatar of isnoend2001
isnoend2001Flag for United States of America

asked on

Rename a file that exists with a new name (?) using vb6

I have files like this
01-03-2016.rtf
02-20-2016.rtf
03-10-2016.rtf

When saving a new file if already exists then don't override just give it a name like this:
01-03-2016(1).rtf  if this exists then
01-03-2016(2).rtf

How to write this?
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of isnoend2001

ASKER

Thanks i will give both methods more thought