>Hi Ed & George,
>
>I'm trying to rename one filename to another filename according to your article in
www.vfug.org November issue.
>
>I got this Error both on my home Windows 98 machine and here at work on Win95.
>OLE error code 0x"name" (Error 1426)
>oFSO.MoveFiles("d:\mtd\mtd.*", "d:\mtd\mtd1.*")
>
>d:\mtd is the local directory on my local d drive and file mtd.zip exists there.
>
>What's the problem? Do I miss something?
>
>Thanks in advance.
Nadya,
First there is a slight typo oFso.MoveFile() not movefiles :)
In destination as far as I know you can't use wildcards.
oFSO.MoveFiles("d:\mtd\mtd.zip", "d:\mtd\mtd1.zip")
should work.
Cetin