Announcement

Collapse
No announcement yet.

move option for folders ???

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • move option for folders ???

    happy new year,
    Unfortunately, I find no option but I'm assuming that's still feasible!

    How do I move an entire folder?

    C:\ProgramFiles\xxxx\Data\marke\prog to C:\ProgramFiles\xxxx

  • #2
    If you want to move a whole folder to a new location, you can use Folder.Rename().
    If you want to move the files, but not any sub folders, you can use File.Move().
    If you want to move the files, and sub folders, to an existing folder, you need to loop over the contents of the source folder and move the content.

    Ulrich

    Comment


    • #3
      Thanks for the answer!

      there is the possibility to leave during the moving display a progress bar?
      (If you want to move a whole folder to a new location, you can use Folder.Rename)

      Comment


      • #4
        the commands folder.rename works for me!
        the question arises why?

        the folder containing subfolders and files were further

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎