View Full Version : Solved: Delete file from windows mobile
jasn78
05-27-2009, 04:38 PM
Hey guys hope this is the right section, i am trying to delete a csv file i have stored on a windows mobile device using vba, I know there is probably software out there that might do this already but for ease of users I need as part of my Access db any ideas would be appreciated
Movian
05-28-2009, 06:37 AM
Probably a silly question... but are you running the DB ON the windows mobile device ? or on the pc it may be connected to ?
If its being run directly on the mobile device then surely a simple
Kill "filepath" should do the trick
if its being run on the PC then we might need to a know how the PC sees the mobile device .... it may assign it a drive letter there by allowing you to again use the same syntax
Kill "Drive Letter for device" & "file path"
Hope this helps. But a little more info may be useful if not
jasn78
05-28-2009, 02:24 PM
Movia, the db is running of my pc trying to kill a file on the windows mobile device but i found a util called cedel.exe that i can call from a batch file to do my job so it works well thanks for your help
asasamy
09-23-2010, 03:26 AM
Hi, Can you pls tell the systax how to use the cedel.exe, i am trying that comment but its not working for me, i am using the comment:
Dim Path as string ="cedel.exe dev:"\Program Files\CoinBoxTrackSystem\*.dat""
dim procid as integer
procid= Shell(Path, AppWinStyle.Hide, True, 10000)
But files with ext .dat not deleted, any idea?
Thanks
Samy
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.