CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: renaming files

  1. #1
    Join Date
    Nov 2002
    Location
    Tatooine
    Posts
    155

    renaming files

    Isn't it ineffecient to copy a file just to rename it, like with the Move command?

    What is the best way to rename a file or folder?

    That which does not kill us, only makes us stronger.

    MCSD .NET

  2. #2
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    55°50' N 37°39' E
    Posts
    1,503
    yeah! i think, copy or move commanc can be used and subsequent deletion of the original file...
    If you think you CAN, you can, If you think you CAN'T, you are probably right.

    Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured