At 11:43 AM 6/19/2015, Paul Buckley wrote:
Good Afternoon,
I'm using the latest build of eXtreme 9.5 (64) and I've got a
compiled application
that is not working correctly in one spot. I am trying to delete all
the BAK files
in all the subdirectories of a folder. The following worked for
quite a while and
now appears to be not working:
SET VAR vdblquote = (CHAR(34))
SET VAR vcommand = +
('zip cmd /c' & 'DEL' & .vdblquote + 'D:\CAD\*.bak /s /q' + .vdblquote)
&vcommand
Any blues clues as to where to start looking or what to do differently?
Paul,
I know that you have the latest and greatest version of Plugin Power Pack 9.5.
Using the R:BASE Plugin Power Pack 9.5, you can use the "RBFileOperations" to
achieve your goal.
The RBFileOperations Plugin is used to perform file operations and automated
file management tasks. The Plugin can rename, copy, delete, and move files or
folders.
The use of wildcards, such as the asterisk (*) is supported. Other options
include silent mode to hide the progress window, undo to reverse any changes
made, and confirmation after an action has been made. It does not appear in
the R:BASE for Windows Plugins Menu.
Syntax:
PLUGIN RBFileOperations vResult|<parameters>
Parameter Options:
OPERATION <value>
COPY_DIR - to copy a directory
RENAME_DIR - to rename a directory
DELETE_DIR - to delete a directory
MOVE_DIR - to move a directory
COPY_FILES - to copy files
RENAME_FILE - to rename files
DELETE_FILES - to delete files
MOVE_FILES - to move files
For complete details and examples, please refer to PluginPowerPack95.pdf
included with the product, such as: c:\RBTI\RBASEPluginPowerPack95\
Hope that helps!
Feel free to reach out to me with any questions.
Very Best R:egards,
Razzak.
www.rbase.com
www.rbaseX.com
www.facebook.com/rbase
--
32 years of continuous innovation!
17 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--