solimommy.blogg.se

Batch file rename concatenate dos
Batch file rename concatenate dos










batch file rename concatenate dos

BATCH FILE RENAME CONCATENATE DOS UPDATE

(setq BlkName "CIR-NOTE") update to your block name

batch file rename concatenate dos

(if (/= (substr result (strlen result)) "\\") (defun Directory-Dia ( Message / sh folder folderobject result) (defun c:BatchRename (/ *error* Directory-Dia BlkName TagName Dir dbxApp FileName RenameList ) It will only report errors, and won't stop when an error opening or renaming happens, but will error for other reasons, and if that happens post the whole error message, as that will help debug, but I tested it before posting, and worked on a small test here. Just change the two variable values within the lisp to what they need to be ( ' BlkName ' = block name, ' TagName ' = tag value ). Īny and all suggestions or hints are welcome! But, it would have to be pretty simple for me to develope it! I know my title block and the attribute names and fields. I have to be honest, I may use AutoCAD 50 to 60 hours per week, but I am no programmer! I am just the go-to person here for AutoCAD whom is stuck trying to come up with a efficient solution for the project team whose engineering firm could not follow our procedures! I was hoping some sort of batch routine could take care of this problem for us instead of us having to individually rename each physical file one by one. Is there a way to "Batch Rename" these files by reaching into the title block and then renaming the physical file to match the attribute? We need to have the physical file name match the information in the title block to get into our system. However, their physical file name follows their format. We have a particular numbering system for our drawings, the engineering firm did fill in our attributed title block properly and used our numbering system correctly within the drawing. The problem is that they did not name their physical files properly. I am working on a large project where a 3rd Party firm has turned over 100s of drawings that we need to get into our system.












Batch file rename concatenate dos