>Hello,
>
>How to write a WSH code to rename one file? Can the .VBS code take two parameters?
Tou could use Vbscript.FileSystemObject to do it; a script can take an arbitrarily large number of parameters, available as a collection belonging to the native Wscript object. Wrox Press has a book "VBScript Programmer's Reference Guide" that covers it rather thoroughly.