当前位置:DOS资源站资料中心批处理教程 → 批处理写的3389登陆器

批处理写的3389登陆器

减小字体 增大字体 作者:佚名  来源:本站整理  发布时间:2008-4-16 21:38:40

@echo off&title DOS资源站 www.cmdos.net
title 原创3389登陆器 by 彬 QQ 43142691 2007-07-31
::这里设置要登陆的IP
set /p IP=输入要登陆的IP:
set /p os=您要登陆的系统是2003(y) 还是XP(n):
if %os% EQU y goto 2003
goto XP
exit
::**********************************************************
:这里是2003服务器系统的配置
:2003
set /p cons=是否进入前台(y):
if %cons% EQU y goto console
goto XP
exit
::**********************************************************
::这里这是前台的设置
:console
set /p fullorcon=是否进入全屏(y):
if %fullorcon% EQU y goto 2003full
::这里这是前台的窗口
set /p w=输入宽度(800):
set /p h=输入高度(600):
start mstsc /v:%IP% /console /h:%h% /w:%w%
exit
::这里这是前台的全屏
:2003full
start mstsc /v:%IP% /console /f
exit
::**********************************************************
::这里是这里XP系统的配置
:XP
set /p fullorcon=是否进入全屏(y):
if %fullorcon% EQU y goto XPfull
set /p w=输入宽度(800):
set /p h=输入高度(600):
start mstsc /v:%IP% /h:%h% /w:%w%
exit
:XPfull
start mstsc /v:%IP% /f
::**********************************************************
exit