There is no practical limit to the number of parameters you can pass to a batch file, but you can only address
parameter 0 (%0 - The batch file name) through parameter 9 (%9).
To circumvent this behavior, you can use the SHIFT command,
Microsoft Knowledge Base Article 278845 contains the following summary:
This article describes how to use Windows Server 2003 Terminal Services to connect to and shadow a console session.