2 wangjie504672265 wangjie504672265 于 2014.09.06 13:26 提问

这个批处理在XP上能用,但是在win7 64位上就提示连接问题了,不能使了

@echo offcolor 0Amode con: cols=75 lines=28:yysetlocalset /p LotID=请输入Lot ID(小写):if not "%lotid:~0,2%"=="1a" set "gs=t"if "%gs%"=="t" echo Lot ID输入错误!&endlocal&goto yyecho %lotid:~6,4%|findstr "^[0-9]*$" >nul|| ( echo&echo Lot ID输入错误! endlocal&goto yy)set "str=%lotid%"set "str=%str:"= %":nextif not "%str%"=="" ( set /a num+=1 set "str=%str:~1%" goto next)if not "%num%"=="10" set "chd=aa"if "%chd%"=="aa" echo Lot ID输入错误!&endlocal&goto yyset "a=%LotID:~0,6%"set "b=%LotID:~6,2%"set "c=%LotID:~8,2%":zzsetlocalset /p piat=请输入Code:set "lu=%piat%"set "m=%lu%"set liu=%lu%/%a%/%b%/%c%set qiang=jpgif "%lu:~4,1%"=="h" (set qiang=csv) else (set liu="%lu%/%a%/%b%/%c%/img")md %lotid%-%m%(echo open 10.30.50.103echo mmifsecho boefs123echo binecho lcd %dektop%echo lcd %lotid%-%m%echo cd %liu%echo binecho prompt offecho mget 1*.%qiang%echo bye)>%tmp%\temp.htpftp -s:%tmp%\temp.htp@ del /q /s %tmp%\temp.htpmove %lotid%-%m% "C:\Documents and Settings\Administrator\桌面\"@pause以上是这个P处理的代码,下载的是一个网页的数据,网页有登陆密码,用户名和密码都是eng,是否和他有关系,

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!