WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Add a file extension to filename (Read 1143 times)
adi white
YaBB Newbies
*
Offline



Posts: 7
Add a file extension to filename
Dec 15th, 2014 at 4:15pm
 
Hello im trying to add a file extension to some file names. id like to be able to drop files into a folder marked "in" and pick them out of a folder marked "out" with a .qxd file extension added. is this possible?
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Add a file extension to filename
Reply #1 - Dec 16th, 2014 at 1:23pm
 
That should be quite easy.

Use the "Copy Files" task ( http://www.watchdirectory.net/wdhelp/plugins/wdopAutoCopy.html ) and enable the "dynamic naming" option. Set the target directory to something like
C:\Out\{filename}.qxd
or
C:\Out\{filetitle}.qxd

The first version adds .qxd to the name (file.txt -> file.txt.qxd) while the second version replaces the current extension.
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1