Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Talk

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2005, 07:37 AM
Menneisyys
5000+ Posts? I Should OWN This Site!
Join Date: Jun 2007
Posts: 5,067
Default DOS-like command prompt and (DOS) scripting on the Pocket PC - a roundup

It's often asked how a DOS-like command prompt can be get on Pocket PC devices. Therefore, I've written a quikck roundup and comparison of the three available tools, PPC Command Shell, PocketCMD and PocketDOS.

The most known of them is the free PPC Command Shell in Windows Mobile Developer Power Toys. It has (somewhat limited) DOS batch compliance and is, therefore, a far better solution to DOS scripting problems than, say, PocketDOS ( http://www.pocketdos.com ). The latter doesn't even support directory names with spaces in them, meaning you won't be able to enter directories (with a lot of PPC's that use the names "Storage Card", "SD/CF Card", "iPAQ File Store" etc., this also includes memory cards and file store) that have spaces in them (see for example http://pocketpcmag.com/forum/topic.asp?TOPIC_ID=15456 on the problem).

Get it from http://www.microsoft.com/downloads/i...ePowerToys.msi (the homepage is at http://www.microsoft.com/downloads/d...displaylang=en ). Install it and after that, go to C:\Program Files\Windows Mobile Developer Power Toys\PPC_Command_Shell\arm. Copy console.dll to \Windows on your PDA and the two other files anywhere in the file system. Then, just start cmd.exe from, say, Pocket File Explorer.

Please note that it doesn't support a lot of things; for example, the 'copy con' command to create textual files. There're, of course, no external MS-DOS programs either. Some of the latter are, incidentally, also missing from PocketDOS and it's impossible to hack to it because of the incompatible DOS version (which is a embedded DOS version). For example, I've tried very hard to make chkdsk.exe work (or, at least, to find a compatible version) under PocketDOS to find a decent PDA-based solution to the probelm described at, say, http://www.pocketpcthoughts.com/foru...ic.php?t=39583 . I didn't succeed.

An alternative is PocketCMD ( http://www.symbolictools.de/public/p...ons/PocketCMD/ ). As opposed to Microsoft's solutions, it uses colors, has command history (just press Up to bring up the previous commands) and has command completion (unix-like). It is also able to enter directories with spaces in them and batchable - to an even better extent than MS' app. I like it very much.
 
Reply With Quote
  #2  
Old 05-10-2005, 04:07 PM
jickbahtech
Intellectual
Join Date: May 2006
Posts: 133
Send a message via Yahoo to jickbahtech

Wow cool write up.

I'm going to be trying out PocketCMD when I get home.
Do you happen to know if any of these can run old DOS apps. I thought PocketDOS could, but buy in is a little steep for me to try it.
Thanks
 
Reply With Quote
  #3  
Old 05-10-2005, 04:38 PM
Menneisyys
5000+ Posts? I Should OWN This Site!
Join Date: Jun 2007
Posts: 5,067

Quote:
Originally Posted by JickBahTech
Wow cool write up.

I'm going to be trying out PocketCMD when I get home.
Do you happen to know if any of these can run old DOS apps. I thought PocketDOS could, but buy in is a little steep for me to try it.
Thanks
Nope, the two scripter apps are solely for internal DOS commands & scripting. They are unable to run any kind of native x86 code.
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:09 PM.