WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Plugins >> Renaming Word documents
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1359796882

Message started by vsx34 on Feb 2nd, 2013 at 10:21am

Title: Renaming Word documents
Post by vsx34 on Feb 2nd, 2013 at 10:21am
My files are named, for example, Smith, John OTPN Smith, John.docx

I need Watch Directory to rename the file to: Smith, John OTPN.docx

I cannot figure out how to do this with the renaming plugin.

Thank you in advance for any help.

I love Watch Directory and Watch FTP software programs! They have been a life-saver!




Title: Re: Renaming Word documents
Post by Gert on Feb 3rd, 2013 at 8:57am
Hi,

Using the "rename" plugin use this for "move to filename":

C:\Target\{stringbefore{OTPN,{filetitle]}OTPN.docx

Note that you also have to enter an "old / new" value (a little bug), just enter something like $ for both.

Alternatively, you can use the "Copy files" plugin using the same target filename.

More info about {dynamic naming} is here:
http://www.watchdirectory.net/wdhelp/plugins/dynamicname_functions.html

Title: Re: Renaming Word documents
Post by vsx34 on Feb 4th, 2013 at 2:52am
Thank you! but, I need more instruction...I am very visual and need a screenshot of exactly how to set this up on my screen/software.

My file name is renamed stringbefore{OTPN,{filetitle]}OTPN

So obviously I am not getting something in the correct spot.



Sorry to be a pain.

Title: Re: Renaming Word documents
Post by Gert on Feb 4th, 2013 at 8:45am
It looks like you forgot the opening {...

It should be something like this
C:\Target\{stringbefore{OTPN,{filetitle]}OTPN.docx

It looks like you entered
C:\Target\stringbefore{OTPN,{filetitle]}OTPN.docx


4-2-2013_8-43-19.png (21 KB | )

Title: Re: Renaming Word documents
Post by vsx34 on Feb 4th, 2013 at 9:14am
That's it! Thank you so much! PERFECT!

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.