Hi,
I'm using phonealarm. It has an option to run a certain program when a profile is activated. I'd like to run a command which will:
1) delete a file
2) copy a file from the storage card to program files
3) rename this file
What's the best way to achieve this? Cheers...
if it's a console one would expect normal dos cmds to work like this
http://www.ericphelps.com/batch/
Sorry for my ignorance on WinMobile, but that webpage seems to have info only for win9x etc....
as I said if it's a console then one would expect that normal dos commands works
Never mind, fixed with a simple mortscript...
Code:
copy "\storage card\profiles\work.png", "\storage card\profiles\current.png", 1
Related
Hi I use Mortrun (http://www.sto-helit.de/index.html) to make a batchfile.
I use Calligrapher aswell and want to make a batchfile fro running a Pencommand.
The contents is:
Run \program files\calligrapher\pencmd.exe "/m nf"
However, I get an error, MortRun does not recognise the parameter, even without the quotes. "Cannot find pencmd.exe etc...".
Directory is OK and it works also when I load a non-parameter exe.
vdongen said:
The contents is:
Run \program files\calligrapher\pencmd.exe "/m nf"
Click to expand...
Click to collapse
Try
Run "\program files\calligrapher\pencmd.exe", "/m nf"
Unless the parameter(s) is/are seperated by a comma, MortRunner will try to start a program named \program files\calligrapher\pencmd.exe "/m nf", including the quotes.
btw: If you didn't notice already: V2.6 of MortRunner is out...
Thank you for your help, it works!
Bart
Hi all,
I just sucessfully installed big storage on my O2 mini and was wondering how i can change the default directory to which my software installs. The software is Imaginet-arabitizer and it uses a PC-based installation. No cab files...
Help please....
help
you can only whether you want to install a program to a default location, storage or a storage card. it will ask you in the beginning of installation by ActiveSync. choose NO and install sonewhere else.. gl
Still no luck....
Unfortunately, this particular program does not use the active sync user interface for the installation....
Any other methods?
i saw a shareware program on the forums once that did that... wish i downloaded it then cause i cant find it again sorry .. thought id let you know its out there though.....
aidil916 - unless it's some kind of ROM update etc, anything that gets installed on the PPC must always use a cab file, even on PC based install. So, start the install, and does add/remove programs or something come up?
Either way, if it installs something to the PPC (i've no idea how the arabizer works), interrupt the installation or somehow stall it. Then use a program like Filetracer or even the XP search tool to find any cabs installed to your pc in the last few minutes. Track down the cab (usually in your temp folder, programs folder or activesync folder) and then take a backup copy of the cab. Then, copy that to your PPC..
Tell me how it goes.
V
aidil916 said:
I just sucessfully installed big storage on my O2 mini and was wondering how i can change the default directory to which my software installs.
Click to expand...
Click to collapse
Usually when you perform PC-based installation software asks you for target location but some programs are hard-coded with "\Program Files\ProgramName" path so they will fail to work if you place them to another locations, i.e. to Storage Card
For programs that don't allow you to change target location you can change their registry entries to correct their path from "\Program Files\" to "\Storage Card\Program Files\". Here you will also need to manually move your program to a new location (SD) using Explorer's copy-&-paste functions
ps: don't use cut-&-paste because some of your programs may be running and this will cause sharing violation errors
Example, I have program "ABC" installed at "\Program Files\ABC" folder.
1) Using Explorer I navigate to "\Program Files" and COPY "ABC" folder to clipboard
2) Now I navigate to "\Storage Card" and create folder "Program Files"
3) I open newly created folder "\Storage Card\Program Files" and PASTE my "ABC" folder from clipboard here
4) Using Registry Editors I search for "\Program Files\ABC" entries and change them to "\Storage Card\Program Files\ABC"
5) I do soft-reset. If after that program works Ok, I delete "\Program Files\ABC"
The software is Imaginet-arabitizer and it uses a PC-based installation. No cab files...
Click to expand...
Click to collapse
Check your activesync's installation location. You will find the cab file within Software name or company folder, like "C:\program files\microsoft activesync\ABC"
Cheers
aidil916 said:
Hi all,
I just sucessfully installed big storage on my O2 mini and was wondering how i can change the default directory to which my software installs. The software is Imaginet-arabitizer and it uses a PC-based installation. No cab files...
Help please....
Click to expand...
Click to collapse
There are 3 methods i use,
1st is download the CAB file if you can, copy to your PPC and install with a program called CAB Install http://www.s-k-tools.com/fp/viewtopic.php?t=44 which allows you to install the app anywhere you want.
2nd is to run the standard ??.exe PC installation file but without your PPC pluged in. After the ??.exe install file is finished it will normally produces a CAB file on your PC which will copy across to your PPC next time you plug it in. All you need to is to find the CAB file and manually copy it to your PPC and use CAB Install.
The 3rd way is to do the same as 2 above and then use an app called WinCE CAB manager which you can generally modify the CAB files standard installation directory to what ever you want to.
Hope this helps
Most software including PC based installs eventually use CAB files. For this I use a small program CabInstl.
Hello! if you create in \TomTom\SdkRegistry\ 2 files called, for example, mortplayer.bmp and mortplayer.cap, and edit this with notepad as follow:
AppName|MortPlayer.exe|
AppPath|\Scheda di memoria\Mort's MortPlayer\|
AppbmpnFile|mortplayer.bmp|
AppMainTitle|Avvia MortPlayer|
COMMAND|CMD||mortplayer.bmp|MortPlayer|
Tomtom will show a 4th menu with your bmp (72x48, 24 bit, 72dpi) and the link to the application.
Now i want to insert a link to VJDialer and dial a number with one click.
Here is, for example, the code:
AppName|VJDialer.exe 0123456789|
AppPath|\Storage\|
AppbmpnFile|vjdialer.bmp|
AppMainTitle|Avvia VJDialer|
COMMAND|CMD||vjdialer.bmp|FRIEND_NAME|
Now... this method does not work.
Vijay Help ME! can i do this?
I halso have tried to create a link to vjdialer, put it into sdkregistry dir, and execute it from .cap file:
AppName|VJDialer.lnk|
AppPath|\TomTom\SdkRegistry\|
AppbmpnFile|vjdialer.bmp|
AppMainTitle|Avvia VJDialer|
COMMAND|CMD||vjdialer.bmp|Friend|
and
AppName|VJDialer.lnk|
AppPath|\Storage\|
AppbmpnFile|vjdialer.bmp|
AppMainTitle|Avvia VJDialer|
COMMAND|CMD||vjdialer.bmp|Friend|
But with no results.
SkizZO: I'm afraid I don't use TomTom (find the poll I'm running to decide if I should buy the Mio with built in GPS!).
However, check your .lnk file. If it launches correctly when run, then I would try copying it into your MortPlayer folder, and editing the entry you know works for mortplayer, and just make it launch your VJDialer.lnk instead (since you know the other settings work).
Perhaps TomTom can't run command lines? That'd be a pain and require some thinking about?
This wasn't too helpful:
http://www.opentom.org/Menu_structure
V
You can't use links and you can't use parameters....
You can only start a exe file, that's it...
What you could do :
- Create a mortscriptfile TTdial.mscr
run vjdialer.exe 0123456789
make a copy of the autorun.exe that comes with mortscript, rename it TTdial.exe
Make the .CAP file as you wish and make it run TTdial.exe
The mortscript autorun.exe always starts a .mscr scriptfile with the same name, so you can have TTdial1.mscr + TTdial1.exe, TTdial2.mscr + TTdial2.exe etc.
WoW Thnx to aLL!
Hemm... wich is the exact shyntax of the mscr script?
...and.. can i use Onlu Autorun.exe (and autorun.mscr) without install anything?
SkizZO: I've made an app just for you, to make this a lot easier, I hope!
VJBrisk - http://forum.xda-developers.com/viewtopic.php?t=50509&start=0&postdays=0&postorder=asc&highlight=
Basically, setup your VJDialer shortcut, rename it to VJTarget.lnk, and copy the file VJBrisk.exe into the same folder.
Get TomTom to launch VJBrisk, and VJBrisk will launch VJTarget.
Let me know if that makes sense. But the autorun solution is still very neat.
V
oops double post
Thanx for all. In order:
Mortscript works well, the exact shyntax is (in mscr file):
run [PATH]\VJDialer.exe , 0123456789
Thanx vijay, i will try NOW your app.... only a question:
VJbrisk.exe launch only one vjtarget.lnk or just rename it (exe) with the same name of the link to have more than 1 phone link?
(es Vjbrisk1.exe call Vjbrisk1.lnk, Vjbrisk2.exe call VJbrisk2.lnk etc ?
sorry 4 my english
Great forum, lots of great information. I want to flash a Spanish language ROM to an HTC Excalibur, I have read a lot of the threads related to doing this and I have downloaded most of the tools as well as the ROM.
I want to do a ROM dump of the OEM ROM just in case anything goes wrong.
1) Instructions for using bkondisk.exe says
prun bkondisk [targetdir]
I need more detailed instructions, if I run this from a command prompt in Win XP it just says prun is not a recognized as a command, program or batch file.
do I have to navigate to a directory on the phone? It just says 'mobile device' location is "my documents" which is weird because I don't see my documents anywhere.
I have copied bkondisk.exe and the tools from itsutils to the windows directory on the phone.
2) general question about all .exe files eg. typical instructions will say
Run the SDA Application Unlock.exe.
Right now the file SDA Application Unlock.exe is downloaded to my PC. Where do I copy it to on the phone before running it?
I cannot run any .exe files copied to the phone.
All files which I have copied to the phone it says "converting to mobile phone format" while copying.
Any .exe file copied thusly if I double click on it it will not execute, it just shows the file size and info.
I tried running the file SDA Application Unlock from the phone's file explorer, when I did it just said "SDA Application Unlock is not a valid Windows CE program"
Summary: basically two problems, where do I put these files to be able to run them, and why is it when I copy them to my phone I can't get them to execute?
i need help with files disappear in my android after encrypting them with ES FILE EXPLORER app (
mostly are files with.mp4' after making a decrypted with the app ( es file explorer ) they simlpy VANISH from the android and cant find them
i am terribly need them back/
please help
Wondering what sense does it make to encrypt videos unless they are porn-videos?
keep Wondering, add some extra for that. but it's not the case this time....
..
can you help instead of wondering ?
Try this:
Look inside the folder where the videos should be and look there for a file named .nomedia. If this file is present delete it.
Didnt work :
i dont know where the .eslock files disappear ( which are the file being decrypted by this program ) i tried seach also with other applications.. but nothing :S
An .ESLOCK file is an encrypted file created by ES File Explorer app.
When you encrypt ( read: lock ) a file with the ES File Exploer app, then file is renamed to a set of numbers and letters and given the "eslock" file extension, which appears similar to asd496gfr04.eslock.
These .ESLOCK files should be found in the folder where the original files where housed. You can search Android for such files using ADB
Code:
adb devices
adb shell "cd /; ls -R * ^| grep 'eslock'"
thanks.
i am not familiar with the ADB thing actualy, i googled a lot and found whats called
"cmdline-tools" inside it there's is a "bin" and then " sdkmanager.bat" but it doesnt run a command shell line to type the codes :S
i dont know how to use that adb..
neuros131 said:
thanks.
i am not familiar with the ADB thing actualy, i googled a lot and found whats called
"cmdline-tools" inside it there's is a "bin" and then " sdkmanager.bat" but it doesnt run a command shell line to type the codes :S
i dont know how to use that adb..
Click to expand...
Click to collapse
Use the ADB installer what is in my signature below linked to. Once installed connect Android device with PC via USB-cable and enable in Android's Settings -> Developer options "USB Debug". When having done so open a Windows command prompt and run the ADB commands.
hi again,
I couldn't find anything with the search.
I tried to make another file being encrypted.
but after a day it vanished as well after the encryption.
i dont know whats happening, and if there's another way to resotre those files being vanished :?
also i got most of the search " access denied as in the picture "