Search and replace?
I have set up a script that automatically creates folders and copies files to new directories every week, like so:
Copy Files "$vPath-Input$\PD 10\1040 ODC YTD Detail Report.pdf" to "$vPath-Output$\1040.DOS.FSI-W\Budget\JSRs\2011\PD 10\1040 ODC YTD Detail Report.pdf"
And next week it would be like so:
Copy Files "$vPath-Input$\PD 11\1040 ODC YTD Detail Report.pdf" to "$vPath-Output$\1040.DOS.FSI-W\Budget\JSRs\2011\PD 11\1040 ODC YTD Detail Report.pdf"
There are about 6-700 such lines of code. We need to change the directories from 'PD 10' to 'PD 11'. Is that possible to do for all lines at once, or will we need to manually edit each line to reflect the changes?
I exported the script as a text file and opened it in Notepad++, then used its Replace function to replace all instances of 'PD 10' with 'PD 11'. However I cannot paste this script back into Automation Anywhere. Is something like this possible, or is there a way to search and replace?
|