How to delete runtimely created file?

Hello,
I have created an application which create xml file at runtime. When I immediately delete it, within fraction of seconds..it is not deleting..after some time it deletes.
Please tell me how to solve this problem.

If you're using File.deleteOnExit(), then you would expect it not to delete immediately. Otherwise, check you close any streams reading or writing to the file before trying to delete it.

Similar Messages

  • How to delete unused audio files in a project?

    Hi guys,
    The question is fairly simple:
    How to delete unused audio files in a project?
    I can't manage to find the answer in the manual,... all I could find is how to delete audio outside used regions!
    But in the projects I use, I have loads of outtakes which I don't use in the project anymore, and now, I would like to delete them of the audio folder to save space on the HD.
    Can Logic select automatically the takes in the audio files folder which are not used in the project and delete them??
    Because there is hundreds of audio files per project, and +/- 50 projects, I just can't do it manually.
    Thanks,
    Fred

    Whoops! Yes, I knew that but a cow flew by... Sorry!
    The procedure I follow is to do what I described then Save as Project, creating a project folder. That way only the required audio is saved to the folder and I delete all temporary stuff. However, if you have folders with shared material, it's much harder and would require you to go through all your projects doing Save as Project before you could delete your old working folder.
    When doing day to day work, best practice is to create a new folder and only use Save as Project when you're working on stuff. Shared material (eg sample libraries etc) can go elsewhere and you can get Logic to copy those to the project folder automatically.
    Otherwise, Shift-Backspace in the Audio window, as you rightly say
    Pete

  • HOW TO DELETE ADOBE READER FILE FROM ADOBE READER

    HOW TO DELETE ADOBE READER FILE FROM ADOBE READER@ !@

    Your question make no sense. What exactly are you trying to do?

  • How to delete a local file in the presentation server.

    Hi All,
    How to delete a local file in the presentation server. As we do using 'delete dataset dsn' in application server. How can i achieve this. My requirement is after uploading file using gui_upload, i want to delete that source file. Please let me know, how can i achieve this.
    Thanks in advance.
    Regards,
    Vishal

    data: l_rc type i.
      data: f_name type string.
        move 'c:\YourFile.txt' to f_name.
        CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_DELETE
          EXPORTING
            FILENAME             = f_name
          CHANGING
            RC                   = l_rc
         EXCEPTIONS
           FILE_DELETE_FAILED   = 1
           CNTL_ERROR           = 2
           ERROR_NO_GUI         = 3
           FILE_NOT_FOUND       = 4
           ACCESS_DENIED        = 5
           UNKNOWN_ERROR        = 6
           NOT_SUPPORTED_BY_GUI = 7
           WRONG_PARAMETER      = 8
           others               = 9
        IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.

  • How to delete the temporary files when we log out from ESS

    Hello expert,
    In my company we are running ESS using ITS server, do you know how to delete the temporary files when we log out from ESS?
    Thanks.

    The temporary files used by ESS. For example paystub pdf file.

  • How to Delete Multiple/All Files in Reader

    How to Delete Multiple/All Files in Reader on iPad3?

    Read this:
    http://forums.adobe.com/thread/1012973?tstart=0

  • How to delete archive log files from ASM through Grid Control

    Hi
    Anybody suggest me how to delete archive log files from ASM through Grid Control.
    Thanks

    It is important to specify both, the oracle version and os version when posting, so confusions can be avoided.
    In this particular case, since you are referring to asm and grid control you could be talking about either 10gR1, 10gR2 or 11gR1; but I strongly suggest you to avoid us to be guessing. In either case, you sould go to the maintenance tab of the target database and program a scheduled 'delete noprompt obsolete;' procedure. This will purge the information stored at the Flash recovery area, which I assume you have declared inside the ASM.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • How to delete order created against notification

    hi gurus,
    Someone tell me how to delete order created against notification. & also PR created against it.
    Regards,
    Radhika

    Hello
    You can set the deletion flag only when the order is business completed - CLSD status (no open costs remaining on the order). Deletion flag is set to the order when you want to archive the order. Till the order has a CLSD status, the del flag setting in the menu will remain inactive.
    Any open PR created against the order is automatically set to deletion when the order is set to TECO - tech completed status.
    For your scenario:
    If you dont want to use the order and the order is with CRTD status - you can set the 'Do not Execute' flag. It will set the order to CLSD and NCMP (Not completed) status. this will also delete your PR
    In case your order is already released - you will have to set the CLSD status for your purpose
    Regards
    Kartik

  • How to delete Thr created functional module dynamically

    Hi All,
    How to delete Thr created functional module dynamically
    Regards,
    Lisa
    Message was edited by:
            Lisa Roy

    Hi,
    You can use the function module RS_FUNCTION_DELETE to do that.
    Make sure you are not deleting any standard FM's.
    Example
          call function 'RS_FUNCTION_DELETE'
               exporting
                    funcname          = 'ZFM_NAME" " Function modue name
                    suppress_popups   = 'X' " TO suppress any pop-ups that come when you delete
               exceptions
                    error_message     = 1
                    cancelled         = 2
                    function_released = 3
                    others            = 4.
    Regards,
    Sesh

  • Can anyone tell me how to delete previous "keep file" files? Im trying to free up some space on my mac.

    Can anyone tell me how to delete previous "keep file" files? Im trying to free up some space on my mac.

    You can upgrade to Mavericks free, just run the App Store program and search for Mavericks. But before you do upgrade I recommend the following:
    1) make sure you have a recent backup. TimeMachine is fine.
    2) Mavericks is somewhat more memory hungry than 10.7 was. You will need 4 GB of RAM and I strongly recommend 8 GB.
    Go back to the Apple menu and select About this Mac - look under the OS info you just looked at. You'll see how much RAM your computer has now. Then click on the More Info button. There you will see your computer info listed as in: iMac, 21.5" mid 2010, for example. Return back with that information and we can tell you how far the computer can be upgraded.
    If you decide to procede and you have enough RAM upgrading to Mavericks is quite simple. Click on the download button and let it do its job.

  • How to delete TMS log file and and request log no.

    Dear experts,
    How to delete TMS log file and and request log no...My TMS log is not deleted since 2007. Please advice
    Thnks

    You can delete them from OS level. You can delete safely the following files:
    /usr/sap/trans/log/SAP*.<SID>
    Is this you were looking for?
    Regards,
    Faisal

  • How to delete recorded asf file in Documents folder?

    How to delete recorded asf file in Documents folder?.
    I did a beehive recording which is saved in Documents folder as Administrator and the file is big 600MB for less than hour session recording. Also this 600MB is taken from my email quota.
    How to recorded with less file size?.
    thx
    Srini

    You can delete it using OBEO or by mapping a Webdav connection.
    Use the following link to map a Webdav connection.
    http://my.oracle.com/site/pdit/BusinessOpsIT/Collab/CustomerAdvocacy/Support/UserTrainingGuides/BeehiveUTG/TeamCollab/WebDAVNetworkPlace/index.html
    Moreover this is the Beehive Online forum, please post questions related to ST Beehive in its forum.
    http://myforums.oracle.com/jive3/forum.jspa?forumID=1886
    Thanks,
    Jereen

  • How to delete recent opened files.

    How to delete recent opened files.

    [discussion moved to the Reader/Acrobat DC for mobile forum]
    Forum moderators,
    The old Adobe Reader mobile forums (such as the Adobe Reader for iOS forum, the Adobe Reader for Android forum, etc.) are now read-only for users.
    Please move new discussions/questions to the new Reader/Acrobat DC for mobile forum instead.  Thank you!

  • How to delete R&R files created by an older version?

    Hi,
    Before I upgraded from Vista to Win 7, I created a R&R backup file on my external USB drive, but since that version of R&R (I can not remeber the exact version) is not compatiable with Win 7, I had to install the ver 4.3.1 after the upgrade; however, when I try to check the R&R file, the 4.3.1 R&R does not recognize the file created by the previous version. I have read a few posts and it seems to be a common problem, but all I want to do right now is just to delete the backup file so I can free about 80GB space, so can someone help me?
    Regards

    hey qusong,
    curious to know, what was the error that you receive?
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • How to delete duplicated m4a file in "Recently Added" List in iTues?

    I followed the instructions given by WICLEE and managed to customize my Ringtone but I couldn't delete the duplicated m4a file (after created a AAC file) from the Recently Added list where i selected the music for downloading. However, i managed to delete the m4a file from Windows Explorer and uncheck the deuplicated file when i sync onto my iPhone5 as a new Ringtone, it worked.  Can Wiclee advise how to delete the unwanted m4a file from the list?  Thanks much. 

    It will disappear from the Recently added playlist after 2 weeks.
    Or you can edit the Recently added playlist to include ONLY music.

Maybe you are looking for

  • How to configure a link in my page which should navigates to new webpage

    Hi , Iam using Jdev 11g(11.1.2.0.0) My scenario is like i need to configure a link in my page. If i click that link , it should navigates me to another web page. Please tell me how to configure the URL to which it has to be navigated on clicking the

  • Service account password change

    Hi. we have ADFS 3.0 ( 1 server, not a farm ) with groupmanaged service account. All Works fine. Now - i see on DC,  on one moment that password for this object has been changed. Description: An attempt was made to reset an account's password. Subjec

  • Zen USB 2.0 Juke

    Hi - I've got a Zen Jukebox USB 2.0, and I now find I cannot use it with Windows Vista! Needless to say I'm not very happy! Are there any solutions All the best, Jeremy

  • One purchase on iPad + iPod? With two accounts but same credit card?

    My daughter (10) recently decided that after years of saving her allowance money, she would buy an iPod Touch. I just ordered my first iPad. Now, this iPad is meant as a family iPad. She has her own iTunes account, but it is based on my credit card a

  • Missing qt and emacs from sync database

    I'm trying to install AL on my laptop, got through fine until I tried install KDE. Qt is missing from the sync database and therefore installation can't continue. I have AL installed on my desktop and searched for Qt after a pacman -Sy. No result for