Rename and Move File

Discussion in 'ASP .Net' started by shapper, Feb 12, 2008.

  1. shapper

    shapper Guest

    Hello,

    How can I rename a file and move it from folder A to folder B at
    runtime?

    Thanks,
    Miguel
     
    shapper, Feb 12, 2008
    #1
    1. Advertising

  2. File.Move(oldFileName, newFileName);

    --
    Misbah Arefin


    "shapper" <> wrote in message
    news:...
    > Hello,
    >
    > How can I rename a file and move it from folder A to folder B at
    > runtime?
    >
    > Thanks,
    > Miguel
    >
     
    Misbah Arefin, Feb 12, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. cliffyg
    Replies:
    0
    Views:
    460
    cliffyg
    Mar 6, 2008
  2. Eduardo78
    Replies:
    0
    Views:
    258
    Eduardo78
    Nov 3, 2005
  3. Andrew Tomazos
    Replies:
    2
    Views:
    629
    Nobody
    Dec 12, 2011
  4. Mrmaster Mrmaster

    Which is more expensive Rename or Move?

    Mrmaster Mrmaster, Jun 16, 2009, in forum: Ruby
    Replies:
    8
    Views:
    156
    Matthew K. Williams
    Jun 17, 2009
  5. kwalike57
    Replies:
    6
    Views:
    236
    Tad J McClellan
    Jan 10, 2008
Loading...

Share This Page