This site is no longer active and is available for archival purposes only. Registration and login is disabled.

DOS-like command prompt and (DOS) scripting on the Pocket PC


DOS-like command prompt and (DOS) scripting on the Pocket PC

Postby Menneisyys » May 10, 2005 @ 7:36am

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 (the homepage is ). 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/forums/ ... hp?t=39583 . I didn't succeed.

An alternative is . 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.
Menneisyys
pm Member
 
Posts: 207
Joined: Dec 19, 2004 @ 5:38pm


Postby PocketDOS » May 10, 2005 @ 11:57pm

PocketDOS - Adds DOS compatibility to your Pocket Computer.
http://www.pocketdos.com
User avatar
PocketDOS
pm Member
 
Posts: 13
Joined: Jun 3, 2004 @ 3:34pm
Location: Africa


Postby PocketDOS » May 11, 2005 @ 9:58am

PocketDOS - Adds DOS compatibility to your Pocket Computer.
http://www.pocketdos.com
User avatar
PocketDOS
pm Member
 
Posts: 13
Joined: Jun 3, 2004 @ 3:34pm
Location: Africa


Postby Menneisyys » May 11, 2005 @ 4:29pm

Menneisyys
pm Member
 
Posts: 207
Joined: Dec 19, 2004 @ 5:38pm


Return to Windows Mobile


Sort


Forum Description

General Windows Mobile discussion for end-users. Hardware, software, etc. This is also the forum to post your product announcements and other news.

Moderators:

Dan East, sponge, Kevin Gelso, RICoder, Chris Edwards

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron