>I'm not exactly certain what you're doing, but based on one of Ed Rauh's posts yesterday, I'd think you might be able to do it by using the RUN command to call cscript.exe passing it the name of a vbs file that would do the work for you. This could be a vbs file that your program generates and sets the Name property. It'd use the short name to get the file reference and set the name property.
The idea of course to create the file in code makes it unnecesary to pass any parameters. I haven't thought about that. but John's solution works great also.
Thanks to all for the help, this was really an important issue to solve.
Christian Isberner
Software Consultant