is there cmd equivalent to mstsc.exe <user> <password> <starting function> ?


  • Hey,

    I want to write a c# program that runs a loop 5 times.

    In that loop there will be the cmd

    mstsc.exe <user> <password> <starting function>

    meaning connecting 5 remote sessions and fire up a starting function in each of them as specified.


    I couldn't see such an option in the mstsc.exe (init rdp from the command line) syntax

    Does someone know how to do it?
    Wednesday, April 21, 2010 4:19 PM