wildcards with rename command ?

bcf

Usenet Archive
Joined
Jul 28, 2003
Messages
4
Reaction score
0
I use the rename command to change multiple layers exchanging the first letters of their names. The dialogue box allows me to rename "C1*" to "M1*" but when I tried to include it in a lisp routine the command line version of rename gives an invalid character when I input a wildcard. Do I need to add aspecial character in front of the wildcard ?
 
Looks good on paper Dave, but no go. This yields an "invalid layer name" the same as entering the "*" directly. I guess its a function of the command "rename" that it won't accept wildcard characters unless you are using the dialogue box version.
 
No. They work from the command line as well. Let me check my menu and I will get back to you.

 

Dave Alexander

 

"bcf" <> wrote:

Looks good on paper Dave, but no go. This yields an "invalid layer name" the same as entering the "*" directly. I guess its a function of the command "rename" that it won't accept wildcard characters unless you are using the dialogue box version.
 
Son of a gun.  You are right. You could write a lisp to create a list of layer names and then rename them one at a time.

 

Dave Alexander

 

"bcf" <> wrote:

Looks good on paper Dave, but no go. This yields an "invalid layer name" the same as entering the "*" directly. I guess its a function of the command "rename" that it won't accept wildcard characters unless you are using the dialogue box version.
 
I believe you are right, as I remember it, the dialog version accepts wildcards, but not the command line version
 

Latest threads

Back
Top