Menneisyys
05-10-2005, 07:37 AM
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/info.aspx?na=46&p=2&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=74473fd6-1dcc-47aa-ab28-6a2b006edfe9&genscs=&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f7%2f6%2f0%2f7606be4b-eea7-4515-83a0-81d7d9ac9ce1%2fWindowsMobilePowerToys.msi (the homepage is at http://www.microsoft.com/downloads/details.aspx?FamilyID=74473fd6-1dcc-47aa-ab28-6a2b006edfe9&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/forums/viewtopic.php?t=39583 . I didn't succeed.
An alternative is PocketCMD ( http://www.symbolictools.de/public/pocketconsole/applications/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.
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/info.aspx?na=46&p=2&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=74473fd6-1dcc-47aa-ab28-6a2b006edfe9&genscs=&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f7%2f6%2f0%2f7606be4b-eea7-4515-83a0-81d7d9ac9ce1%2fWindowsMobilePowerToys.msi (the homepage is at http://www.microsoft.com/downloads/details.aspx?FamilyID=74473fd6-1dcc-47aa-ab28-6a2b006edfe9&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/forums/viewtopic.php?t=39583 . I didn't succeed.
An alternative is PocketCMD ( http://www.symbolictools.de/public/pocketconsole/applications/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.