Anyone knows how to delete a file from a directory?????
hi there
anyone has any idea on how to delete a file from a directory? delete(String filename)? thank you.
Hi,
Check this link.
Gives you an example code to show how to delete a file.
http://examples.oreilly.com/jenut/Delete.java
Hope this helps.
Roopasri Vittal
Developer Technical Support
Sun Microsystems
http://sun.com/developers/support
Similar Messages
-
Does anyone know how to copy my files from my ipod to a different computer?
Does anyone know how to copy my files from my ipod to a different computer? I tried to do it, but all that it did was erase my files. What i want to to is use my ipod to transfer my files to another computer (which has itunes as well) PLEASE help!
You will need to enable your iPod for disk use. Then, you should see your iPod in "My Computer" and you can open up your iPod's folder there and drag the files into it. You can store the files on the iPod, then connect it to the other computer and drag-and-drop them from the iPod into the designated directory in that computer. Make sure individual files are not larger than 4 GB.
-
Anyone know how to delete an App from itunes library?
Hi All,
I have a number of Apps that I have tried to remove from my itunes account. These are just games that I no longer play or have never played.
First I tried selecting the App in itunes, then Edit/Delete then it will ask you if you want to remove file. Then I emptied the trash.
This did not work. Now every time an update is available for the previously deleted App it will download that update then try and re-download the full game.
Secondly I have tried going to "finder" and finding the file on the Mac HD. and then deleting the file/game this way.
This also did not work and again the game is try to re-download.
As you can imagine this is becoming quite annoying and is starting to clog up my downloads when I check for other updates.
Can anyone help???
Regards,
PeteThanks but this didn't resolve a thing.
Carolyn Samit wrote:
This is the Mac App Store forum ... apps that run on the Mac OS X, not iOS.
Sorry If I posted this in the wrong forum, If anyone can direct me an appropriate forum then I will post it there.
Carolyn Samit wrote:
Apps that are stored in iTunes are for iOS devices such as iPads or iPhones. Press and hold the app icon on the device. Tap the circle with an x to delete then tap delete.
I have no problem deleting the app from my mobile device.
The problem comes when I delete it from itunes and form my iMac. I know that the Apps are stored in the "mobile application" folder on my Mac HD. But even when deleting the file from that location the App still re-downloads every time I check for updates in itunes app store.
No matter how many times I delete the file and no matter where I delete it from, It always downloads again.
I no longer want these apps why can't I delete them completely? -
Does anyone know how to load a file from the source directory?
I have a Photoshop panel that uses the Texturizer function. I would like to use the images in the src images directory of the project. I need to reference the /src/images directory of the panel when the project is running.
Does anyone know how to access the source directory using action script?
I have tried a number of options but only seems to work if I hard code a location
public static function Mat02(): void
// Works
var myTexture:File = new File("C:\\Users\\Ed\\Adobe Flash Builder 4.6\\LayoutBuilderSuite\\src\\images\\mat 02.psd");
// Tried - no luck
// var file = File.applicationStorageDirectory.resolvePath("mat 02.psd");
// var file:File = File.applicationDirectory.resolvePath("mat 02.psd");
//var file:File = File.applicationStorageDirectory;
//file = file.resolvePath("mat 02.psd");
//var myTexture:File = File.applicationDirectory.resolvePath("mat 02.psd");
//var myTexture:File = File.documentsDirectory.resolvePath("mat 02.psd");
var desc5:ActionDescriptor = new ActionDescriptor();
desc5.putEnumerated( app.charIDToTypeID( "GEfk" ), app.charIDToTypeID( "GEft" ), app.charIDToTypeID( "Txtz" ) );
desc5.putPath( app.charIDToTypeID( "TxtT" ), myTexture );
desc5.putInteger( app.charIDToTypeID( "Scln" ), 150 );
desc5.putInteger( app.charIDToTypeID( "Rlf " ), 4 );
desc5.putEnumerated( app.charIDToTypeID( "LghD" ), app.charIDToTypeID( "LghD" ), app.charIDToTypeID( "LDBR" ) );
desc5.putBoolean( app.charIDToTypeID( "InvT" ), false );
app.executeAction( app.charIDToTypeID( "GEfc" ), desc5, DialogModes.NO );
ThanksI haven't seen too many questions like this on this forum. Did you also try the photoshop forums?
-
Does anyone know how to open raw files from 7D mark ii in lightroom?
I bought new 7D mark ii last week. But lightroom cannot read the Raw Cr2 files. any idea anyone? thanks.
Native Lightroom support for the D750 was added in the Lightroom 5.7 update released this evening.
Release details:
Lightroom 5.7: http://blogs.adobe.com/lightroomjournal/2014/11/lightroom-5-7-now-available.html
Camera Raw 5.7: http://blogs.adobe.com/lightroomjournal/2014/11/camera-raw-8-7-and-dng-converter-8-7-now-a vailable.html -
Does Anyone know how to delete the backup from iCloud.
I have a new iPhone, I restored my backup from iCloud, and now I have 2 iphone backups. There´s a message that "It can´t be erased right now, try in other moment". And i received a mail that says I´m running out of space, buy more or go to settings..... Thak you very much, and sorry for my English
You'll have to erase the photo on the computer and sync the content of the selected folder again using iTunes. iPhone, iPad and iPod touch: Syncing photos via iTunes
-
Does anyone know how to delete credit card details from an Apple account?
Hi not sure if this is posted in the right place but i'll give it a go anyway.
Would anyone know how to delete credit card details from an Apple account?
Someone posted selecting 'none' in the payment section would work but i logged into my account online on a computer there aren't any options at all to do this.
I tried hitting edit but there isn't a delete button.
If anyone knows any help would be most appreciated!
-FAnswer should be here:
https://discussions.apple.com/message/12832322#12832322 -
does anyone know how to delete songs that came with the iPhone 6 in the music?? i tried deleting them from iTunes but i couldn't.
I know you already solved this but for future reference, there is also another setting to only keep songs downloaded to your device visible in music.
Go to Settings --> Music --> Show All Music and make sure it is turned off -
Hi, I have 5 locked fonts on my desktop, G5 PPC, and cannot move to trash and delete. Anyone know how to delete these font icons? Thanks for helping.
Select them in the Finder, choose Get Info from the File menu, and clear the Locked box.
(59958) -
HT3281 anyone know how to delete podcasts off the new itunes please
Hi
Does anyone know how you delete podcasts of the new I-Tunes please
Thank youThe show duplicates/show exact duplicates features have been left out of iTunes 11. Rumor suggests they will be restored in the next build. In the meantime I have written two Windows scripts to make playlists of Duplicates and Exact Duplicates, either from a selection of tracks or the entire library.
If you want to manually remove duplicate tracks use shift-delete to remove selected tracks from the library as well as the playlist. Keep one of each repeated group of files and don't send to the recycle bin unless you are sure that there are multiple files on the disc as opposed to multiple entries to the same file.
There is also my DeDuper script if you don't want to do it by hand. This can preserve ratings, play counts, playlist membership, etc. which are lost in a manual clean up. Please take note of the warning to backup your library before deduping. See this thread for background on deduping and the script.
tt2 -
How to delete a file from AL11??????
Hi Friends,
how can i delete a file from AL11 directory....
i have found FM's like EPS_DELETE_FILE, EDI_PORT_DELETE_FILE and some more from SAP system but those are not deleting the files....
let me know if i can write a program for this and if yes then guide me for writing the same....
Thanks,
Nagesh.reference:http://saplab.blogspot.com/2007/10/sample-abap-program-to-delete-file-from.html
REPORT ZDELETE.
Delete a file on the application server.
PARAMETERS: P_DIR LIKE RLGRAP-FILENAME
DEFAULT '/usr/sap/trans/', *it will delete files from this dir
P_FILE1 LIKE RLGRAP-FILENAME.
DATA: P_FILE(128).
DATA: W_ANS.
START-OF-SELECTION.
CONCATENATE P_DIR P_FILE1 INTO P_FILE.
check file exists
OPEN DATASET P_FILE FOR INPUT.
IF SY-SUBRC NE 0.
MESSAGE E899(BD) WITH P_FILE 'does not exist'.
EXIT.
ELSE.
CALL FUNCTION 'POPUP_CONTINUE_YES_NO'
EXPORTING
DEFAULTOPTION = 'N'
TEXTLINE1 = P_DIR
TEXTLINE2 = P_FILE1
TITEL = 'ARE YOU SURE YOU WANT TO DELETE'
START_COLUMN = 25
START_ROW = 6
IMPORTING
ANSWER = W_ANS
EXCEPTIONS
OTHERS = 1.
ENDIF.
CLOSE DATASET P_FILE.
CHECK W_ANS = 'J'.
delete
DELETE DATASET P_FILE.
IF SY-SUBRC NE 0.
MESSAGE E899(BD) WITH 'Invalid file name' P_FILE.
ELSE.
CLOSE DATASET P_FILE.
MESSAGE I899(BD) WITH P_DIR P_FILE1 'DELETED'.
ENDIF -
Does anyone know how to transfer my contacts from my iphone onto my i cloud please? I cnnot do it no more s they have made something so simple to do into a task that seems so omplicated.ive tryed ooads and now im starting to loose my cool.Thanks if you can help.I bet it's really easy to do,but im not seing it clearly.
On your Mac.
Sign into iCloud, turn Contacts and anything else you want, on. -
Does anyone know how to delete an iTunes account?
Welcome to the Apple Support Communities
You must create a new user for your other Apple ID so you can use them on your PC -
please does anyone knows how to delete the "others" on the iphone becuase it take me a lot of spaace and i cant have anything i have 5 GB of othres coan some one help me please?
If restoring using your backup didn't work, you'll have to save as much of your data as you can (import your photos to your computer, sync your contacts and other data with iCloud, email things like Notes and Voice Memos to yourself, sync with iTunes to transfer all your purchases, etc.) and then restore it as new without using your backup.
-
does anyone know how to delete the back up for the ipod? I am getting an error message that says "iTunes could not back up iPod because it is corrupt or not compatible with iPod; delete back up and try again"
Go to iTunes>Preferences>Devices and highlight the backup you want to delete and click on Delete Backup
Maybe you are looking for
-
AP Check Printing : Position the check at the page's bottom
Hi all, I'm struggling to build an RTF template for AP check printing. I have tried Tim's solution and Darshan's approach and can control the number of invoices per page to successfully handle the overflow checks. The trouble resides on controlling t
-
I have a 4th generation iPod touch running iOS6 that is not jail broken.
-
Character mode report with 0 KB
There is one more problem , which we are facing now, the character mode reports are now coming with 0kb size, we are using the orarrp.exe for remote printing utility. If same report is generated using desformat as PDF, then it comes. OS:Win 2k AS:9i
-
Partner profile not available while sending mail
Hi Experts, I have used a customized program which is called by tcdoe va41, where once when i click on issue output to.. I need to send email to the customer, but i get a message that Partner profile not available. Can any one help me in this issue
-
Call webservice without input message
Hi. I have webservice which doesn't need input message. For example stack cleaner. <wsdl:message name="eraseStackRequest"> </wsdl:message> <wsdl:message name="eraseStackResponse"> <wsdl:part element="impl:result" name="result"/> </wsdl:message> <wsdl