Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
skooter #1
Copy & rename entire folder structure
I was wondering how to copy an entire folder structure with sub folders and
files, then rename the main folder. I have used the cfdirectory to 'rename'
the directory, but that's only after I manually coppied or FTP the folder
structure. I want to use cf to both copy the folder structure and then rename
it. Ex. original folders ---> [Family][mom][dad] (1 main folder with 2
sub folders) copy/rename to ---> [Johnsons][mom][dad] (still 1 main folder
with 2 sub folders) Man, I really hope that made some sense.
skooter Guest
-
rename file and/or folder
I am a web developer and have several clients who I have just started on Contribute. Already we are all very frustrated over the limitation of... -
Quick way to rename text boxes when copy/paste
Hi Folks, I am trying to add text boxes to document. I did see that I can copy and paste, but it leaves the name the same. Then when you add text to... -
Copy File and Rename
I need to copy about 200 files from one directory to another while renaming them. Does anyone have a short script to do this? TIA -
#25555 [NEW]: rename/copy/fopen should be able to handle uploaded
From: xuefer at 21cn dot com Operating system: all PHP version: 4.3.3 PHP Bug Type: Feature/Change Request Bug description: ... -
Rename Folder
For some reason, when I renamed a folder, it didn't update the image links within that page. Does anyone have any suggestions? -
Stefan K. #2
Re: Copy & rename entire folder structure
Use cfExecute to execute DOS-commands:
<cfexecute name="cmd.exe"
arguments="/c ren Family Johsons "
timeOut="15"></cfexecute>
ren Family Johsons
is the actually executed command, "ren" is the command, "Family" the old name,
"Johnsons" the new name.
You'll have to use absolute paths instead of just "Family" or "Johnsons"
Hope it helps
Stefan K.
Stefan K. Guest
-
skooter #3
Re: Copy & rename entire folder structure
Is there a way to do the copy of that folder structure before I rename it? Are there some similar DOS commands to copy a structure?
skooter Guest



Reply With Quote

