关于wince telnet组件的一篇博客
来源:互联网 发布:淘宝电费 编辑:程序博客网 时间:2024/04/30 10:25
The CE Telnet Server
A lot of folks (even in the CE team) don't realize that Windows CE has a telnet server as an optional component. This is not something that we see you putting in shipping devices. It is a very cool tool during your initial development of your platform, however.
If your device is hooked up to platform builder (PB) via a debug connection, you can use the target shell of course. But I prefer telnet server. Telnet is just a wrapper around CE's cmd.exe. CE's cmd has builtin file manipulation commands like WinXP cmd, including the capability to do file redirection and run .bat files. You can also write your own apps that call wprintf() or scanf() and have them interact across a telnet session. IPConfig, ping, etc... are tools that are command line based. Yes, you can run them with a '-d' to have the output redirected to the debug console. But I find it easier using the standard telnet than having to look at all the windows in PB. Further, if your device isn't hooked up to PB then you're out of luck on that front.
OK I'm biased here since I wrote the telnet server :). But most people that start using it don't go back..
To get telnet server, add it to your development only platform. It's SYSGEN_TELNETD. There are security concerns with any telnet server, so REMOVE IT BEFORE RTM'ng your platform unless you have a very very good reason not to. If you want to be lazy (development only!) and remove the password check then add these registry entries.
[HKEY_LOCAL_MACHINE/COMM/TELNETD]
"UseAuthentication"=dword:0
"IsEnabled"=dword:1
Happy telneting. Oh, and if it isn't clear already, this isn't something you probably want to ship.
[Author: John Spaith]
[HKEY_LOCAL_MACHINE/COMM/TELNETD]
"UseAuthentication"=dword:0
"IsEnabled"=dword:1
;Share files
;[HKEY_LOCAL_MACHINE/Services/Smbserver]
;"AdapterList"="VMINI1"
;[HKEY_LOCAL_MACHINE/Drivers/Service/SMBServer]
; "AdapterList"="PCI//DM90001"
[HKEY_LOCAL_MACHINE/Services/SMBServer]
"AdapterList"="DM90001"
[HKEY_LOCAL_MACHINE/Services/SMBServer/Shares/Root]
"Type"=dword:0
"Path"="//Windows"
; "UserList"="Jacky,Rose,Terry"
"UserList"="admin"
[HKEY_LOCAL_MACHINE/Ident]
"Name"="FooBar"
"Desc"="Sample File Share Demo"
"OrigName"="WinCEDevice"
;[HKEY_LOCAL_MACHINE/Comm/Redir]
; "DefaultDomain"="REDMOND"
[HKEY_LOCAL_MACHINE/Services/SMBServer/Shares]
"NoSecurity"=dword:1
"UseAuthentication"=dword:0
- 关于wince telnet组件的一篇博客
- zz--关于wince的博客
- 一篇关于WINCE介绍的文章
- wince -- telnet登陆密码的取消
- 关于Delphi 下indy Telnet 组件生成com的问题
- 一篇关于虚函数的博客
- 关于我的第一篇博客
- 关于前端我的第一篇博客
- 第一篇关于深度学习的博客
- 一篇关于LSTM的好博客
- 关于第一篇博客
- 简单计时器组件(我的第一篇博客)
- 关于Wince进程外组件~
- 关于Wince进程外组件~ .
- 关于租约,关于我的第一篇技术博客
- 这是一篇关于我的博客的第一篇博客
- WINCE telnet 共享PC上的文件夹
- 找到很好的一篇关于二叉树三种遍历的博客
- 将DELPHI数据库连接写进INI配置文件中
- 各类语言对文件的操作
- sbo中怎么不通过linkbutton跳出来指定的应付发票
- 电脑维修的基本方法!!
- python_文件与目录操作
- 关于wince telnet组件的一篇博客
- 解决href使用onclick方法时点击该链接的时候不会跳转页面.但是滚动条会往上滚的问题
- asp.net留言本(文本格式)
- 异构数据库之间的复制(SQL)
- 计算机加密
- 网络故障诊断与优化!
- 国际化,资源文件如何存储更优?
- 我国拟修刑法严惩网络犯罪:黑客犯罪最高判7年
- 电子商务相关术语