Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 11-08-2017, 09:02 PM
Zaaka Zaaka is offline
Senior Member
 
Join Date: Aug 2002
Location: Teesside, UK
Posts: 212
Thumbs up Whats the best way to duplicate part of a file path+tree

I need to duplicate a file path and tree, as below i need to duplicate from SubFolder1 (inclusive) and copy the folder structure to a different path (user specified), I can use getfiles to get the subfolders structure but how do I replace 'Folder 1' with the user specified path?

Code:
Folder 1 ---Sub Folder 1
                  |--Subfolder 2 -----+Sub Folder 3
                  |--Subfolder 4 -----+Sub Folder 5
  #2  
Old 11-10-2017, 06:42 PM
Zaaka Zaaka is offline
Senior Member
 
Join Date: Aug 2002
Location: Teesside, UK
Posts: 212
Default Never Mind I have a working Function

I have a working function, not pretty but it works....
Closed Thread

Tags
file i/o, folder, structure

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 10:12 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.