Re: I've changed the name of a file - now how do I get at path to the new name?
Re: I've changed the name of a file - now how do I get at path to the new name?
- Subject: Re: I've changed the name of a file - now how do I get at path to the new name?
- From: Len Senater <email@hidden>
- Date: Fri, 3 Nov 2000 12:23:24 -0500
>
On 00/11/02 7:29 PM Mountain Time, email@hidden via
>
email@hidden, said:
>
>
>I can change the name of the file by:
>
>set the name of vPathName to "NewFileName"
>
>great, however the variable still contains the path to the old file name.
>
>How do I get the path to the newly renamed file?
>
>
I usually just add in something like:
>
>
set the name of vPathName to "NewFileName"
>
set New_File to the result -- (* you can add 'as text' or 'as alias' as
>
required)
>
>
HTH
>
Your script returns the error:
"The variable result is not defined"
any idea why?
LEN