I have a windows form and in this form i use the system command to open a C$ connection to a remote machine. When i click a button, I first run a NET USE command to create a connection to the machine and then i use a START command to actually open the C$ window. On windows 7, the C$ window opens in less than a second, however, on widows XP, it gets stuck on the START command for a few seconds. Any ideas as to what might be cusing the issue? Or should i rather use another method to open the C$ window as opposed to SYSTEM("START.....")?
Do you NEED a command prompt on the other computer? Are you trying to execute processes remotley? Depending on what your objective is there are a number of ways to go about this.
I dont need a command prompt, i just thought it was the quickest way to open a window. All the code does is open a window. eg SYSTEM("START \\remoteMachine\c$")