s5vi's Motorola p2k phone page
May 22, 2012, 07:30:00 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Over 30000 member ! Under heavy spammer attack ! Cleaning in progress !
V-6.0.0 with CDMA support is available now.
To become VIP: you can do it via PayPal: http://www.el-co.hu/p2k05/paypal.html
 
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: pls test it  (Read 10970 times)
0 Members and 2 Guests are viewing this topic.
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« on: December 13, 2006, 09:03:19 am »

http://www.el-co.hu/dl/p2kcopy.zip

usage: p2kcopy source destination

both path must be absolute
eg: p2kcopy /a/mobile/audio/MyToneDB.db c:/MyToneDB.db
or  p2kcopy c:/MyToneDB.db /a/mobile/audio/MyToneDB.db

caution: experimental code (i tested up- and download both)

at this moment only 3 filenames will be get, this MyToneDB.db is ok. only 3 files found.
if more files found downloading will be bad.


« Last Edit: December 13, 2006, 09:48:32 am by s5vi » Logged

s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #1 on: December 14, 2006, 10:29:09 am »

improved version, checks if file not found on phone

http://www.el-co.hu/dl/p2kcopy.zip
Logged

flash.tato
Newbie
*
Offline Offline

Posts: 8


« Reply #2 on: December 15, 2006, 04:04:25 pm »

Hi s5vi, i tested new version but a Windows Error show when i run the Command p2kcopy Sad
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #3 on: December 15, 2006, 10:02:58 pm »

sorry, man

i dont understand, i run successfully from totalcommander's commandline
but now i test it with cmd.exe and its BAD.....
see the code and replace this
Code:
;invoke revstr,addr S_Launchdir,addr buffer
;invoke InString,1,addr buffer, addr backslash
;mov esi,offset buffer
;add esi,eax
;dec esi
;invoke revstr,esi,addr S_Launchdir
to this:
Code:
mov esi,offset S_Launchdir
invoke lstrlen,offset S_Launchdir
add esi,eax
.while byte ptr [esi]!="\"
dec esi
.endw
inc esi
mov byte ptr [esi],0

and now works in cdm.exe also
p2kcopy /a/astrix.gif a.gif   this will place a.gif to the actual folder IMMEDIATELY , hey whats a speed......

ps: that damned revstr (reverse a string) why wrong in cmd exe? who knows?

zip file updated:  http://www.el-co.hu/dl/p2kcopy.zip
Logged

s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #4 on: December 16, 2006, 04:13:37 pm »

zip file updated:  http://www.el-co.hu/dl/p2kcopy.zip

i've found another occurrence of "revstr" and change it

here is my result:
http://www.el-co.hu/dl/p2kcopy.swf
Logged

flash.tato
Newbie
*
Offline Offline

Posts: 8


« Reply #5 on: December 21, 2006, 12:15:41 pm »

Sorry for late answer
I have been busy in these days. Cheesy

Afternoon i will re-test the Fixed Version Smiley
Logged
Therompster
Newbie
*
Offline Offline

Posts: 4


« Reply #6 on: April 05, 2007, 03:01:29 pm »

Is there any way to creater a new folder with this aplication?  on the c partition maybe?
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #7 on: April 05, 2007, 03:11:07 pm »

this is only an experiment...
you can add folder with script
see scripting.txt

example newfolder.p2kc file may contains:

md /c/mobile/newfolder
cp someofyourfile
to /c/mobile/someofyourfile

this *.p2kc file registered to p2kcommander, and if you open it p2kc will execute script commands

best regards....
Logged

Therompster
Newbie
*
Offline Offline

Posts: 4


« Reply #8 on: April 05, 2007, 03:20:16 pm »

when i try to start p2kcopy.exe i get an error. windows error, im trying to put the my5 folder and all of its contents from a folder on my pc to the C:/ partition on a v3r, anytime i try create new folder in p2k commander, i get generic failure.  Can you help please, i will donate as much as you want if you can get this working.  hows 200 usd?
Logged
Therompster
Newbie
*
Offline Offline

Posts: 4


« Reply #9 on: April 05, 2007, 03:36:16 pm »

 so i tried a script containing this :

md /c/mobile/my5/icons/preloaded
cp 01.jpg
to /c/mobile/my5

and executed it, it made a FILE with the name of my5 but that is all it did.
Logged
s5vi
Administrator
Hero Member
*****
Offline Offline

Posts: 769



WWW Email
« Reply #10 on: April 05, 2007, 08:45:12 pm »

your script is copy 01.jpg file to /c/mobile folder as filename:  my5

The correct script if my5 is not present yet:

md /c/mobile/my5
md /c/mobile/my5/icons
md /c/mobile/my5/icons/preloaded
cp 01.jpg
to /c/mobile/my5/icons/preloaded/01.jpg   
or 
to /c/mobile/my5/01.jpg

you can create only one folder at once
you must write full destination path with filename after "to"
godd luck
Logged

Therompster
Newbie
*
Offline Offline

Posts: 4


« Reply #11 on: April 06, 2007, 04:51:09 pm »

p2k commander will allow me to make a subfolder in skins directory, but not a full directory on a or c it will make it but it will be gone after a re-read and cannot upload files directly to it either after folder has been created.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!

Bad Behavior has blocked 99 access attempts in the last 7 days.



Google visited last this page May 04, 2012, 04:54:01 am