URL: https://www.overclockers.at/applications/win2k_server_remotedesktop_178349/page_2 - zur Vollversion wechseln!
push _?!
google sagt der syntax lautet nicht
net use com1 \\client\com1
sondern
net use com1 \\client\com1:
ausserdem musst du wirklich \\Client schreiben, nicht denn namen deines Clients, das ist keine Variable
check das bitte mal 
Soooo... mittlerweile hab ich einiges weitere erfahren...
Ich suche nun ein programm dasmit das redirekt korrekt macht redirekt einer seriellen schnittstelle.
change port /query bringt keine session bei meinen ports. sollte aber sein:
Link -->ZitatUpdateHow can I verify that my local COM ports are redirected?
Last modified: February 4, 2007
Start a command window and type the following command at the prompt:
change port /query
The output will look something like this:
AUX = \DosDevices\COM1 COM1 = \Device\RdpDrPort\;COM1:15\tsclient\COM1
COM2 = \Device\RdpDrPort\;COM2:15\tsclient\COM2
COM3 = \Device\RdpDrPort\;COM3:15\tsclient\COM3
LPT1 = \Device\RdpDrPort\;LPT1:15\tsclient\LPT1
PRN = \DosDevices\LPT1
From the above, you can see that COM1-3 and LPT1 are redirected. The number 15 is the session id, so that will change depending on the current session id.
If they are not redirected, the output will look something like this:
AUX = \DosDevices\COM1
COM1 = \Device\Serial0
COM2 = \Device\Serial1
For a different solution, check:
314354 - How To Programmatically Determine Whether Serial Ports Are Redirected to a Terminal Server Client Computer
Back to top
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2026