![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 12:29 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » [Help] Calling on experts: one batch file to handle remote control, come discuss fast |
| Printable Version 879 / 1 |
| Floor1 qq121682776 | Posted 2010-04-25 01:35 |
| 新手上路 Posts 4 Credits 4 | |
|
telnet is remote control under DOS
For remote desktop and control you need to enable 3389 How can this be done with one batch file on a LAN Write a batch file and you can do remote control Based on the control allowed by WINDONS This is impossible to implement But I want to make it possible Is your test environment a LAN or the Internet Both LAN and Internet There should be an expert who can do it What functions do you want to achieve telnet remote control I can do it manually, but now the requirement is one batch file to handle the process I do manually telnet can be enabled with net start telnet I already know all this Then what is your manual process Using TELNET as an example, turn on the related services Turn off the firewall Then go into gepedit.msc and adjust it so blank passwords and the like can be used to log in Carry out the above operations on the local machine? This is for a local area network If it's the Internet, then you need to know the public IP. If there is no router, then you can get on directly. If there is one, then go into the router and map port 23 If the above is for the local machine, it can be done like this @echo off net start telnet net stop sharedaccess net user test$ test /add net localgroup administrators test$ /add I can do this too ah Then what exactly do you want to achieve Can 3389 do it? 2003 can All can, but different versions require a reboot Then can the corresponding external IP for the LAN be uploaded to a specified FTP or mailbox What I want is one batch file to achieve remote control I've been looking for many days and still haven't gotten a result. Hope the experts here can point me in the right direction [ Last edited by qq121682776 on 2010-4-25 at 01:38 ] |
|
| Floor2 qq121682776 | Posted 2010-04-26 02:42 |
| 新手上路 Posts 4 Credits 4 | |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |