XP Performance Issue with System()

Nov 11, 2010 at 2:53pm
closed account (Gy7oizwU)
Hi all


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.....")?

Thanks in advance
Nov 11, 2010 at 9:24pm
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.
Nov 12, 2010 at 6:33am
closed account (Gy7oizwU)
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$")
Nov 16, 2010 at 12:12pm
closed account (Gy7oizwU)
No one has any ideas?
Nov 16, 2010 at 2:30pm
Does it go any quicker when you run the command from a cmd shell?
Dec 6, 2010 at 11:59am
closed account (Gy7oizwU)
Sorry for the late reply, been super busy.

It goes much quicker when run through the cmd shell on XP.
Topic archived. No new replies allowed.