Hi,
I'm new to powershell and having a similar problem where I'm trying to
rename the file with folder name as the prefix.
eg. C:\scripts\test.txt
becomes
C:\scripts\scripts_test.txt
I can get it to loop through and rename, but can't find a way to return the
folder name to append to the existing name?
Any advice is appreciated. Thanks
"Jacques" wrote:
Quote:
> Shay
>
> That does it! Many thanks.
>
> Jacques
>
>
>