Log in

View Full Version : .bat file ?


MALIK
01-07-2005, 02:02 PM
i'm new too :)))
is it possible to make and run .bat file on Pocket PC hp4100 ?

Menneisyys
01-07-2005, 02:45 PM
i'm new too :)))
is it possible to make and run .bat file on Pocket PC hp4100 ?

Some programs (e.g., Pocket Controller Enterprise) offer a prompt screen which seems exactly like the familiar DOS screen, but it also lacks any kind of real batch programming capabilities - there is no command.com., meaning there are no built-in scripting capabilities at all - there are no 'for', 'if' and other control structures.

An MS-DOS emulator, however, is a completely different question: PocketDOS ( http://www.pocketdos.com/ ) offers the full scripting capabilities of the 6.22 MS-DOS. But, it's highly unlikely you want to use a dog-slow emulator to run a script :) (MS-DOS's scripting "language" was far inferior to that of decent Unix shells, so it's better to forget all '.bat' scripting.)

In PPC, w/o using PocketDOS/installing third party apps, you can only execute a given program through a link. To have a picture of how they look, check out the .lnk files in \Windows\Start Menu[\Programs]

TFGBD
01-07-2005, 10:15 PM
Microsoft offers a version of PocketCMD available for download as part of their "Windows Mobile Developer Power Toys." The install includes a version of cmd.exe for ARM WM2003 devices only.

The Powertoys are available here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=74473fd6-1dcc-47aa-ab28-6a2b006edfe9&displaylang=en

You can download a version of Microsoft's Command line shell for older devices from this page:
http://www.symbolictools.de/public/pocketconsole/applications/index.htm

As well as making Microsoft's console tool available for download, the author also has his own command line tool called PocketConsole.

I'm not 100% sure, but I believe Microsoft's cmd.exe supports batch files...

Enjoy! :)