Hi,
I think I need a batch file to handle this problem but PPC2003 does not
understand what a .bat file is.

I need to reload 6 application cab files if the PDA does a cold boot. The
devices are Symbol 8860 and they have a section of non-volatile memory in
which I save my cab files. I can automatically recreate my files after a cold
reboot and I can execute them from the \Application\Startup directory in the
Symbol but they all run at once and they need to be run in specific order. I
was going to put them in a batch file so they would run in the correct
sequence.

Is there any inbuilt scripting facility in PPC2003 that will do the job?

Re: Is there a cmd.exe (or similar) in CF?? by ctacke/>

ctacke/>
Fri Jun 17 06:11:45 CDT 2005

Symbol devices have a built-in ability to do this. Check with their support
for info on file merges.

-Chris


"Peter Jones" <PeterJones@discussions.microsoft.com> wrote in message
news:747724B8-FC61-40C4-A42F-3D078235ED7A@microsoft.com...
> Hi,
> I think I need a batch file to handle this problem but PPC2003 does not
> understand what a .bat file is.
>
> I need to reload 6 application cab files if the PDA does a cold boot. The
> devices are Symbol 8860 and they have a section of non-volatile memory in
> which I save my cab files. I can automatically recreate my files after a
> cold
> reboot and I can execute them from the \Application\Startup directory in
> the
> Symbol but they all run at once and they need to be run in specific order.
> I
> was going to put them in a batch file so they would run in the correct
> sequence.
>
> Is there any inbuilt scripting facility in PPC2003 that will do the job?
>



Re: Is there a cmd.exe (or similar) in CF?? by Brian

Brian
Fri Jun 17 09:02:28 CDT 2005

"=?Utf-8?B?UGV0ZXIgSm9uZXM=?=" <PeterJones@discussions.microsoft.com>
wrote in news:747724B8-FC61-40C4-A42F-3D078235ED7A@microsoft.com:

> Hi,
> I think I need a batch file to handle this problem but PPC2003 does
> not understand what a .bat file is.
>
> I need to reload 6 application cab files if the PDA does a cold boot.
> The devices are Symbol 8860 and they have a section of non-volatile
> memory in which I save my cab files. I can automatically recreate my
> files after a cold reboot and I can execute them from the
> \Application\Startup directory in the Symbol but they all run at once
> and they need to be run in specific order. I was going to put them in
> a batch file so they would run in the correct sequence.
>
> Is there any inbuilt scripting facility in PPC2003 that will do the
> job?
>
>

After you run the CAB files, do you know all the files that are in the
CAB and where they are located? Do you know the registry entries that
are made? Ordinarily I'd be inclined to pull all the files and registry
entries out, storing them in the \Application directory, and making CPY
files to put the files where they need to go on coldboot, and REG files
to handle the registry entries.

If something like that isn't possible in your case, you might want to see
whether you can write your own little custom installer, and all it would
do is run CreateProcess for the CAB files you want to install. (I don't
know off the top of my head how to make CreateProcess run a CAB file.)

You can find out more in the SDK documentation which describes RegMerge
and CopyFiles.

Regards,
Brian

Re: Is there a cmd.exe (or similar) in CF?? by Pete

Pete
Fri Jun 17 09:56:01 CDT 2005

Hi,
take a look at nScriptm which allows shelling of programs, manipulation of
the registry and lots more. Very flexible, we use it for installs

http://www.geocities.com/s_k_s_k_s_kru/util.html#nscript

Pete

--
Pete Vickers
Microsoft .NET Compact Framework MVP
HP Business Partner
http://www.gui-innovations.com

"Peter Jones" <PeterJones@discussions.microsoft.com> wrote in message
news:747724B8-FC61-40C4-A42F-3D078235ED7A@microsoft.com...
> Hi,
> I think I need a batch file to handle this problem but PPC2003 does not
> understand what a .bat file is.
>
> I need to reload 6 application cab files if the PDA does a cold boot. The
> devices are Symbol 8860 and they have a section of non-volatile memory in
> which I save my cab files. I can automatically recreate my files after a
> cold
> reboot and I can execute them from the \Application\Startup directory in
> the
> Symbol but they all run at once and they need to be run in specific order.
> I
> was going to put them in a batch file so they would run in the correct
> sequence.
>
> Is there any inbuilt scripting facility in PPC2003 that will do the job?
>



Re: Is there a cmd.exe (or similar) in CF?? by TJ

TJ
Sun Jun 19 23:44:31 CDT 2005

There is a PC console clone and CMD program that uses the same commands
as command.com/cmd.exe so you can use a batch file just as you would on
a desktop. You can get both in one package here:
http://mamaich.kasone.com/ppc/pocketcon.rar.

Peter Jones wrote:
> Hi,
> I think I need a batch file to handle this problem but PPC2003 does not
> understand what a .bat file is.
>
> I need to reload 6 application cab files if the PDA does a cold boot. The
> devices are Symbol 8860 and they have a section of non-volatile memory in
> which I save my cab files. I can automatically recreate my files after a cold
> reboot and I can execute them from the \Application\Startup directory in the
> Symbol but they all run at once and they need to be run in specific order. I
> was going to put them in a batch file so they would run in the correct
> sequence.
>
> Is there any inbuilt scripting facility in PPC2003 that will do the job?
>