Directory.Move method

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rama Jayapal
    New Member
    • Mar 2007
    • 24

    #1

    Directory.Move method

    i am developing an asp.net application
    i have read all the directories from my solution and placed in a gridview

    i am trying to rename the directory name using Directory.Move method

    on edit mode when i give the same name as that of the existing name it throws me an error like

    both source directory and destination directory cant be of same name

    is it not possible to rectify this error

    and more over is there any way to create duplicate directories in the same folder

    plz help me on this regard

    Rama
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Have you referenced the directory correctly?

    Comment

    • Rama Jayapal
      New Member
      • Mar 2007
      • 24

      #3
      Directory class

      in Directory.Move method

      can the source directory name and the destination directory name be same?


      plz help

      Rama

      Comment

      Working...