Hi,
I'm searching for hours and I can't find the solution to this...
I'm using Visual C++ to create an autorun.exe to have on SD cards.
The idea is to run several operations when the SD card is inserted.
Now I have the file doing almost everything except to copy a file from SD to the device.
All the info I find is related to SHFileOperation and with CeCopyFile.
the SHFileOperation Function apparently does not work on WM5 and I can't compile the CeCopyFile (keep getting identifier not found) I already put the rapi.h on the path but the compiler does not found the CeCopyFile.
Does any one can help me to find the right command or a turnaround solution?
Any solution needs to be question less, the SD will be shipped to dummy users (more dummy than I) and I don't want to have any question, just a message at the end saying "update completed"
Thanks
have you checked out mortscript's autorun?
Yes, I check it out and it is a possible turn around for the job but I'm trying to keep everything in one file.
I need to send this by e-mail and I need to update with regularity.
It already complicated for some users to copy a fuc*** file, I don't want to face more complication to the user.
I'm sure that C++ has a function to copy/move/delete files. Unfortunately I'm too stupid to find it out.
I was hooping that one of the goods in here could give-me some tips...
Related
I recently tried to start PicselBrowser.exe from a location other than the default one. It failed and I put it back into it`s default directory and uninstalled/reinstalled it. Now every time I turn on my Apache (WM5) it tells me ''Notification Error'' ''Cannot execute /Storage Card/PicselBrowser.exe'' which is the directory that I mentioned that I had failed to start the program from. Does anyone know how I can stop this message? Thanks.
Any ideas?
Does anyone know of a forum somewhere that would be better suited for this question?
koadansc said:
I recently tried to start PicselBrowser.exe from a location other than the default one. It failed and I put it back into it`s default directory and uninstalled/reinstalled it. Now every time I turn on my Apache (WM5) it tells me ''Notification Error'' ''Cannot execute /Storage Card/PicselBrowser.exe'' which is the directory that I mentioned that I had failed to start the program from. Does anyone know how I can stop this message? Thanks.
Click to expand...
Click to collapse
Yes, that is a little easy to solve. I had that trouble a while back with another application I was messing with. Here is the solution.
Look into Windows>Start Up folder. In there you will probably see a .lnk file pointing to the OLD PicselBrowser.exe. Since you already moved the OLD PicselBrowser.exe file to a NEW location, then put it back in the same place. Your PPC thinks it is already a NEW file despite the fact that you returned the very same file to its ORIGINAL location. The solution is to replace that .lnk file by creating a shorcut of the NEW PicselBrowser.exe file in another folder, then rename that file to the same name as the one found in Windows>Start Up folder. The next step is a simple cut and paste to replace the lnk file.
The uninstall process probably leaves behind the OLD lnk file or notification to launch the NEW picselbrowser.exe file. So in reality, the lnk file is still searching for the OLD PicselBrowser.exe file. Despite the Uninstall procedure that you performed.
I hope I made it clear for you. Let us know if it works.
Good luck.
---
Thanks for the reply, I am a newb when it comes to technical PPC stuff. I looked in my startup folder and several others and found the following:
poutlook.lnk
sddaemon.lnk
Services.lnk
SpbMobileShell.lnk
None of these appear to be Picsel Browser, I also looked on my Storage Card, nata. Any other ideas? Thanks again!
koadansc said:
Now every time I turn on my Apache (WM5) it tells me ''Notification Error'' ''Cannot execute /Storage Card/PicselBrowser.exe'' which is the directory that I mentioned that I had failed to start the program from. Does anyone know how I can stop this message? Thanks.
Click to expand...
Click to collapse
Ohhhhhhhhh. I have another thoery and again very simple.
What kind of SD Card are you using? I would guess a 4GB one, isn't it? Basically what is happening is that, the built-in SD Card reader of your PPC is not fast enough to read the entire contents of the SD card when you turn it ON. To solve this issue, there should be an option from within Picsel Browser to delay its startup upon turning your device ON.
An alternative solution is to install Picsel Browser in the Main Memory rather than the SD Card.
Another alternative solution is to use a Lower Memory SD Card, say a 2GB SD Card, for faster read.
As a last resort, if you have MemMaid or a powerful Notifications Manager, just delete the pesky notification manually. Why does Picsel Browser need to be read every time you turn your device ON anyway?
Hope this helps.
---
Actually, I am running a 2 GB MiniSD Card and to be honest, I dont know why it is trying to activate PicselBrowser.exe each time I turn on the device. Let me clarify that it is not coming on every time that I do a soft reset, it is every time I press the power button on top of the device. Also, I got this same message when I first tried to run PicselBrowser in it's not default location, which is why I moved it back. Why it has been attempting that operation ever since is a complete mystery to me. Thanks for your help though. I would be clueless without you.
I guess the only thing to try now is delete the notification manually using a Notifications manager. BACKUP 1st is the RULE, before deleting an kind of Notifications.
Another extreme solution is Hard Reset and install from scratch. I know sounds horrifying specially if you have tons of stuff.
---
I'm getting exactly the same error for 'wakeup.exe' for Wisbar Advanced Desktop at the minute, I know that there has been a lot of discussion over at the lakeridge forums but most people have solved the problem by reinstalling several times.
EDIT: i think I may have fixed my problem. try installing picsel browser again without uninstalling it on your pocket pc. See if you get the message about 'all other previous versions will be deleted' just tap yes and continue to install it again. Then see what happens.
(And just as i thought i fixed it, the message appeared again)
I tried to install Picsel Browser over the existing install several times and it did nothing to the error message. I don't know what else to try, any more ideas?
Please, this is really annoying every time I turn on my phone. Any ideas?
I sitll get the same with WAD.
Hey, I fixed this problem simply by copying (NOT CUTTING) the file in question (in my case PicselBrowser.exe) to the directory that it was telling me it could not start from. Hope this helps. Cheers
koadansc said:
Hey, I fixed this problem simply by copying (NOT CUTTING) the file in question (in my case PicselBrowser.exe) to the directory that it was telling me it could not start from. Hope this helps. Cheers
Click to expand...
Click to collapse
im having this ploblem too...
please.. after deleted the app PicselBrowser... i deleted manualy the others folder files about PicselBrowser..
so i dont have this PicselBrowser.exe to move or put in other place...
can u upload the PicselBrowser.exe file...
that we need to fix this error
thanx
execute picselbrowser.exe from the installed location and delete the one wich is generating errors. It worked for me
Hi folks,
is there a possibility to have incoming files via BT to be copied to memory card instantly?
Currently files are first being copied to main disk on WM6 (after you agree to receive) and then you can specify where you want it saved in.
Due to lack of space, I would prefer if it is possible to override the current way and have files going to memory card instantly.
Would be happy if there is an solution?
regards
Horst
There is a BT utility called "Dr YAR" something. Sorry I can't recollect the entire name. One of it's features is it allows you to transfer files directly to the storage card. However I must inform you that in all the times I have tried it over various ROMS and devices, I have never had it successfully complete large files. It always goes through to about 50% and then hangs.
I really hope somebody can create a simple app that can cover for this one annoying aspect of WM.
Hi,
thx for the Info. i also do know of a program called "Sniper", which fulfills the job more or less as well.
But what I was wondering, if there aint a way to get files directly to the card.
regards
Horst
Waggl Daggl said:
But what I was wondering, if there aint a way to get files directly to the card.
Click to expand...
Click to collapse
Without third party software? I don't think so.
There are 2 ways a file is transfered to your
1. Information Exchange
2. File Transfer
Usually when you transfer a file from a normal non-smart phone, it sends a file using the Information Exchage, OBEX push, i think... This is used by WM mobiles for transferring Outlook files like vCard, etc. So when you recieve files from another Phone to ur WM via OBEX push, you most probably, wont have have control over where u can save the file, atleast by default firmware.
Now in the second case, Say transfering a file from a Laptop, it uses "File Transfer" to send a file. This uses a shared folder on your WM phone, and the file is transfered to your shared folder. This Shared folder is defined in the "Advance..." button of your "File Transfer" service, under the "Services" tab in Bluetooth Settings.So basically select a folder on your card to define where you recieve the files. i have transfered a fairly large file (24Mb , thats more than the free memory i have on my ROM) directly tothe card. kindly note that the files in the folder that you have decided to share will be available/ accessible to the host bt device sending the file, so its a good idea to define a new folder that for the purpose.
Hope this info was helpful
official hermes AT&T WM6 does not have FILE TRANSFER!
Hello,
I'm linking to my other posts in the thread below, since nobody has replied to that one. Anyway, the HERMES offcial AT&T ROM does not have the OBEX file transfer service, only the default Inbox service. In that case I have managed to transfer direct to the SD Card using this service, but I would like to improve the process by removing the UI prompt. Please read the other thread and let me know if you can duplicate my results and/or if there is a way to remove the prompts. Thanks,
http://forum.xda-developers.com/showthread.php?t=268697
so I sync yesterday and notice 3 folders with characters not normally allowed. one contains all "?" while another has / and ?. when I try to delete, system can't since they contain these characters. and I can't find them using total command. any help?
You need to provide more infomation so we can help you .
Which version are you using (WM 6, 6.5, 6.5.3 etc.)? Where are the folders located? Do they contain files?
Sorry. Runninng WM6.5 stock verizon ROM with TF3D 2.0 on my Imagio. And they don't contain any files. I can open, but when I go to delete, it says files cannot contain the following symbols blah blah blah. And I can't seem to find them using TC.
anyone got anything?
Hi Jerry,
JerryA said:
anyone got anything?
Click to expand...
Click to collapse
Are the folders on the SD card ? My suggestions below:
1) If they are, try deleting them from the Windows PC side via an ActiveSync connection or in "Disk drive mode".
2) Try renaming the folders with 'proper characters' and then delete.
3) If in "disk drive mode", try removing them via DOS command. You may want to do a "dir /X" to see the 8.3 short file/folder name and remove them.
Regards.
________________________________
* Today is yesterday's tomorrow. Today is also tomorrow's yesterday.
Then is the present the past's future or the present is the future's past. *
Hi Jerry,
JerryA said:
anyone got anything?
Click to expand...
Click to collapse
Are the folders on the SD card ? My suggestions below:
1) If they are, try deleting them from the Windows PC side via an ActiveSync connection or in "Disk drive mode".
2) Try renaming the folders with 'proper characters' and then delete.
3) If in "disk drive mode", try removing them via DOS command. You may want to do a "dir /X" to see the 8.3 short file/folder name and remove them.
Regards.
________________________________
* Today is yesterday's tomorrow. Today is also tomorrow's yesterday.
Then is the present the past's future or the present is the future's past. *
No, they aren't on the SD card, they are phone memory. Whenever I try to rename them, I get the same error code, telling me files cannot contain the following..... And as for the last, I don't know anything about DOS, so that would require a level of expertise that I just don't have. I haven't seen any strange behaviour on the phone, and my memory size and usage has not freaked out, nor has my battery life. So what they are or what they are for is beyond me.
The 3 files are names thus:
??????
????Documents
oc????
Very odd.
JerryA said:
No, they aren't on the SD card, they are phone memory. Whenever I try to rename them, I get the same error code, telling me files cannot contain the following..... And as for the last, I don't know anything about DOS, so that would require a level of expertise that I just don't have. I haven't seen any strange behaviour on the phone, and my memory size and usage has not freaked out, nor has my battery life. So what they are or what they are for is beyond me.
The 3 files are names thus:
??????
????Documents
oc????
Very odd.
Click to expand...
Click to collapse
Jerry,
My suggestions are only if the files reside on the SD card.
I believe the ? means the available fonts, on your phone, does not have the correct character set to display it properly.
Base on my belief above, try the following:
a) My apology being a new member, I am not allowed to post clickable link. Go to this link : add a http:// in front first
forum.xda-developers.com/showthread.php?p=5869460
b) Download and install the "Droid Sans Font.cab" to your phone in post #9. Alternatively, search for the file, arialuni.ttf, (Arial Unicode MS) first on your Windows PC if not then on the web and copy it to your phone, \Windows\Fonts directly. This is a 22Mb file !
c) Restart your phone and see if those files are showing proper characters.
d) If it does, then go ahead, open it and see what's the content like. Rename the file then delete. Uninstall the "Droid Sans Font.cab" if you wish. Personally, I don't like the font as the characters are rasterised.
Regards.
ugh, too much work. My phone isn't acting up, and even though I don't like uninvited strangers, they aren't eating up resources, and my phone is still functioning properly. I will keep these files you suggested handy in case something does start acting up, and see what happens.
yea, I am lazy when it comes to electronic stuff. Thanks for the info!
If you have SK Tools (or a similar app), try scanning the memory. It sounds like you have corrupted files or a corrupted directory. It may not be causing issues now, but it could cause issues sooner rather than later. You may also think about backing up everything now while you can.
JerryA said:
No, they aren't on the SD card, they are phone memory. Whenever I try to rename them, I get the same error code, telling me files cannot contain the following..... And as for the last, I don't know anything about DOS, so that would require a level of expertise that I just don't have. I haven't seen any strange behaviour on the phone, and my memory size and usage has not freaked out, nor has my battery life. So what they are or what they are for is beyond me.
The 3 files are names thus:
??????
????Documents
oc????
Very odd.
Click to expand...
Click to collapse
oh no i have the same problem. but the strange files are on my storage card. i am backing up my storage card them i am going to format.
Vogue on Winmo 6.1
I keep(kept) helpful files in a folder I call(ed) "Device Memos".
It contains passwords, setup info, application guides, manuals, and other things to help me manage my device. It is mostly .txt, .doc., .pdf. and some saved web pages (.html).
The other day I thought I'd leave a memo in an audible format. I used Resco Recorder which saved it in a folder called "audio recordings". I then went into the folder and copied the mp3(hold stylus down, copy). Then, I went to "device memos" and pasted it(stylus down, paste).
As soon as I pasted I was taken to the root folder in Resco Explorer. Very strange I thought. I returned to "device memos" and ALL of my folders/files were missing...it was empty.
I searched the device but couldn't find them.
I've tried several restore programs such as Recuva, Easeus, Duplicate File Detective, and others without success.
Strangely, with the SD Card inserted in a reader I can double-click and find files and folders with strange gibberish for text. Right clicking on the folder for properties displays 116 files, 112 folders, and 215 Gigabytes on a 16GB Sandisk!
Can anyone explain what has happened and help me restore this data ?
Sorry to say this but it sounds like your file has been corrupted since the check sum is obviously bad. Your only hope is to find something that can reconstruct your file, and I don't know of any.
Edit: Then again I'm no developer, so maybe there is another explanation.
It's clear that filesystem on SD card got corrupted somehow.
There are many paid and free filesystem recovery/fixing utilities available on internet, starting with Windows built-in chkdsk. You have to mount your SD card on Window to use these.
For best results make a raw dump of your SD card first (using dd for Windows or search for something user-friendlier) - after unsuccessful recovery attempt, you can restore original SD contents and try another utility without messup made by previous one.
I've been looking for hours for a work-around for this, but no luck, so I finally caved in and am asking for help.
I was backing up my sd card to my computer so I could format it.
While doing so, I was prompted with an error that said my path was too long.
I am on windows 7, and I know there is something like a 260 character limit for path names.
So I just made a new folder with a shorter name/path, and copied the files there.
This was good, as I thought I did a good job of figuring something out on my own.
So the problem lies when I want to put all of the files/folders back on my sd card.
I need them back in the folder they came from and I am not allowed to do that.
If anyone has any suggestions, it would be much appreciated.
BTW, the path is F:\Android\data\com.google.android.apps.books\files\volumes\Y7sOAAAAIAAJ
and I need to put the \res folder in there which contains files like
aHR0cDovL2Jvb2tzLmdvb2dsZS5jb20vYm9va3M_aWQ9WTdzT0FBQUFJQUFKJnBnPWNvbnRlbnQtMDA0MCZpbWc9MSZ6b29tPTYmaGw9ZW4mY2RzPTImc2lnPUFDZlUzVTBKb3lRRDA1dFQ4Zm1GSW94LVREUzhIMjlYcGcmdz00ODAmaD0zOTU=
I don't know what this file/folder is for. It looks like it would be something to do with books, but I have never had an app that had anything to do with books, and since its in the \Android\data\ path it looks important to me.
Do I need this folder? will it regenerate itself when said app runs?
Or am I just a complete idiot and I should just delete it and get on with my life?
Thanks in advance
I had the same problem recently. I just skipped them with no consequence. Google Books is the e-reader app for Books purchased through the Market. I actually have books from the market and I still did not encounter an issue. So you should be fine just to skip them.
Long Path error fixer solution
Just simply download long path error fixer. Here is the link:
wwwlongpathtoolcom
I tried this and its very helpful software!
Long Path Tool
If File Path is too long then I would like to suggest you, try Long Path Tool program to resolve this issue.
Thanks for share
Path name too long
I suggest you try Long path tool is the very good program for easily delete, copy & rename long path files, error, unlock solution.
Try it and solve your problem.