Link to home
Start Free TrialLog in
Avatar of funkkube
funkkubeFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Windows Mobile 6.1 Simple Batch question

Hi
I have to copy a file from one place to another on the windows mobile 6.1 device.
From the SD card to program files location.
On CE.net devices i could use a simple dos batch file.
On mobile its not as simple.
I have installed pocket cmd and edited the registry to get a shell.
but when i run the batch file - file.bat it does not run as its not associated with it.
How do I associate the .bat files with the cmd.exe file thats located on the sd card?
Something to do with the registry no doubt but I dont know how to do that//
Cheers
mAt
Avatar of alexey_gusev
alexey_gusev
Flag of United Kingdom of Great Britain and Northern Ireland image

you need to go to HKCR and check what's done for eg *.doc - you should see 2 main keys:

.doc <-- here is the starting point of all changes


docfile  <-- here you'll define all "open" etc operations


Something in this direction: http://support.microsoft.com/kb/185453
Avatar of funkkube

ASKER

I just need to add an association with the cmd.exe to run the batch file..
I dont need to write some visual basic surely??
ASKER CERTIFIED SOLUTION
Avatar of alexey_gusev
alexey_gusev
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial