Command Processor Commands
I've got a device, on it windows ce 5.0.
On my flash I have an .exe which I want to delete via a batch file and
copy a newer version.
(SerialTest.exe already exists)
I tried to copy it:
copy "\Storage Card\Batchfiles\SerialTest.exe" "\ffsdisk"
or
copy /Y "\Storage Card\Batchfiles\SerialTest.exe" "\ffsdisk"
it does not work.
than I tried to rename it and delete the renamed and copy the new one:
REN "\ffsdisk\SerialTest.exe" "SerialTest.txt"
ATTRIB -A "\ffsdisk\SerialTest.txt"
DEL /Q "\ffsdisk\SerialTest.txt"
copy "\Storage Card\Batchfiles\SerialTest.exe" "\ffsdisk"
but I can not delete .txt.
Thank you very much
Georg
Re: Command Processor Commands
On 5 Mar 2007 03:03:43 -0800, "schliz" <schliz11@yahoo.com> wrote:
[color=blue]
>I've got a device, on it windows ce 5.0.[/color]
What device?
[color=blue]
>On my flash I have an .exe which I want to delete via a batch file and
>copy a newer version.[/color]
What kind of flash (CF Card, USB card, flash in the device...)?
How are you getting access to a command line?
I infer from your first statement that you are trying to run commands
from a command line on the Windows CE device. I'm pretty sure retail
devices (Windows Mobile 5 for Pocket PC, etc.) based on Windows CE
don't support any command line, so I don't think this will work at all
unless you get a utility (like PocketDOS) that provides DOS emulation,
and thus support for a command line, or are using some other platform.
[color=blue]
>
>(SerialTest.exe already exists)
>I tried to copy it:
>
>copy "\Storage Card\Batchfiles\SerialTest.exe" "\ffsdisk"
>or
>copy /Y "\Storage Card\Batchfiles\SerialTest.exe" "\ffsdisk"
>
>it does not work.
>
>than I tried to rename it and delete the renamed and copy the new one:
>
>
>REN "\ffsdisk\SerialTest.exe" "SerialTest.txt"
>ATTRIB -A "\ffsdisk\SerialTest.txt"
>DEL /Q "\ffsdisk\SerialTest.txt"
>copy "\Storage Card\Batchfiles\SerialTest.exe" "\ffsdisk"
>
>but I can not delete .txt.
>
>Thank you very much
>
>Georg[/color]
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
[url]www.penfact.com[/url]
Re: Command Processor Commands
On 5 Mrz., 19:48, [email]r_z_aret@pen_fact.com[/email] wrote:[color=blue]
> On 5 Mar 2007 03:03:43 -0800, "schliz" <schli...@yahoo.com> wrote:
>[color=green]
> >I've got a device, on it windows ce 5.0.[/color]
>
> What device?
>[color=green]
> >On my flash I have an .exe which I want to delete via a batch file and
> >copy a newer version.[/color]
>
> What kind of flash (CF Card, USB card, flash in the device...)?
>
> How are you getting access to a command line?
>
> I infer from your first statement that you are trying to run commands
> from a command line on the Windows CE device. I'm pretty sure retail
> devices (Windows Mobile 5 for Pocket PC, etc.) based on Windows CE
> don't support any command line, so I don't think this will work at all
> unless you get a utility (like PocketDOS) that provides DOS emulation,
> and thus support for a command line, or are using some other platform.
>
>
>
>
>
>
>[color=green]
> >(SerialTest.exe already exists)
> >I tried to copy it:[/color]
>[color=green]
> >copy "\Storage Card\Batchfiles\SerialTest.exe" "\ffsdisk"
> >or
> >copy /Y "\Storage Card\Batchfiles\SerialTest.exe" "\ffsdisk"[/color]
>[color=green]
> >it does not work.[/color]
>[color=green]
> >than I tried to rename it and delete the renamed and copy the new one:[/color]
>[color=green]
> >REN "\ffsdisk\SerialTest.exe" "SerialTest.txt"
> >ATTRIB -A "\ffsdisk\SerialTest.txt"
> >DEL /Q "\ffsdisk\SerialTest.txt"
> >copy "\Storage Card\Batchfiles\SerialTest.exe" "\ffsdisk"[/color]
>[color=green]
> >but I can not delete .txt.[/color]
>[color=green]
> >Thank you very much[/color]
>[color=green]
> >Georg[/color]
>
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
>
> Robert E. Zaret, eMVP
> PenFact, Inc.
> 20 Park Plaza, Suite 478
> Boston, MA 02116www.penfact.com- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -[/color]
Dear Robert,
Thank you for your reply! I have mad a mistake. The program, which I
wanted to delete was currently running when I tried to delete it.
So thank you for your time.
Georg