About Copy the Folder and file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sunilkds
    New Member
    • Feb 2008
    • 16

    About Copy the Folder and file

    I want code for how to copy folder,delete folder from one location to another.


    Plz give example

    I tried in this code but i couldnt move folder but i moved files(coy),
    code,

    path = file_object.Get ParentFolderNam e(path)
    file_object.Cop yFolder path, destination

    This code moves only files not folder.

    Please help me,
  • vdraceil
    New Member
    • Jul 2007
    • 236

    #2
    Search this site with keywords "copying files vb"..

    Comment

    • lee123
      Contributor
      • Feb 2007
      • 556

      #3
      well i don't know if this is what you want but try this:

      Copy Folder

      lee123

      Comment

      • smartchap
        New Member
        • Dec 2007
        • 236

        #4
        Please see the following URL:

        http://www.planet-source-code.com/vb/scripts/ShowCode.asp?tx tCodeId=71156&l ngWId=1

        For deleting files / folder u can use file's / folder's delete method in the same way as copy.

        Comment

        • smartchap
          New Member
          • Dec 2007
          • 236

          #5
          Dear sunilkds and others
          Hope the submission at the URL at PSC helped u. If yes please reply and do vote the code there.

          Comment

          Working...