I am trying to create a user defined command which would rename file(s) as a batch rename without preview as follows:
- Filename: File.txt
- Desired Rename: File - 02-21-12.txt
Code: Select all
* - <date mm-dd-yy> When I try to run it via the user defined commands, it gets all crazy.
If I use the following pattern:
Code: Select all
* - <date mm-dd-yy> Code: Select all
File - 02-21-12.txtWith it set Batch Rename. No preview. I get this:
Code: Select all
File - 02-21-12 - 02-21-12.txtDue to file-naming conventions at my office, I cannot substitute a "_" or other character for the spaces, so is there a way for me to achieve this with a user defined command?
I have read everything on here I could find about this, (Including: • http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=6352 • http://www.xyplorer.com/xyfc/viewtopic. ... atch+space • http://www.xyplorer.com/xyfc/viewtopic. ... name+space • http://en.wikipedia.org/wiki/Regular_expression • http://www.regular-expressions.info/) but can't seem to find an answer.
Any help is greatly appreciated.
XYplorer Beta Club