Link to home
Start Free TrialLog in
Avatar of Flora Edwards
Flora EdwardsFlag for Sweden

asked on

Rename part of the file name in a folder

I need help, i want a windows script, maybe  a notepad to be saved with .vbs or .bat that can do the following

prompt me to choose the desired folder and once i chose folder then ask me the string to find in file names in this specified folder and once found that string as part of the file names then another inputbox to ask me what do i want to replace is with.

for example, i have many files in a folder with name   Product1 - Copy.doc and Product34 - Copy.doc and so on, i want to replace all of the "- Copy" part with " Original"

any help is appreciated.

i also can accept the Excel VBA if can do what i have explained above.
ASKER CERTIFIED SOLUTION
Avatar of Anne Troy
Anne Troy
Flag of United States of America image

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