How to write on Disk ? RRS feed

  • Question

  • Hi,

       I have an application that needs to write files on disk for temporary basis.

    App may be running from some other disk (may be USB HD), and it may not be able to write to that disk. How to know where is Windows isntalled and write on that disk. Or Know a disk where can write files for temporary ?

    Please help me ASAP, am in hurry.

    If you find any answer helpful, then click "Vote As Helpful" and if it also solves your question then also click "Mark As Answer".
    Wednesday, September 7, 2011 1:35 PM


  • Hi mate,

    For the path to write to, try


    that will give you the temp folder (Which should be writable)

    • Edited by MattDendle Wednesday, September 7, 2011 1:46 PM
    • Marked as answer by truptivd Wednesday, September 7, 2011 8:13 PM
    Wednesday, September 7, 2011 1:46 PM

All replies