|
|
 |
Copying Files and Folders
You will have many occasions to create a new page on your website that looks
and operates like many of your other pages (or even to copy an entire folder).
If you don't have a template set up, you may want to copy from another page.
Using Cut or Copy and Paste, however, takes the file or folder out of Dreamweaver
and puts it onto the clipboard of your operating system. If you paste the file
in a new location, Dreamweaver may lose track of your links. To avoid this,
use one of these two methods when copying a file or folder:
- For files, open the file you want to copy and use File > Save As
to save a copy of the file. Use can use any filename and any location, and
Dreamweaver will still maintain all of your links.

- For both files and folders, in your Site Management window, highlight a
file or folder, select Copy from the Edit menu (or the right-mouse
button), and then Paste the file or folder in the exact same location
where you made the copy (by default, Dreamweaver will give the new file a
name of "Copy of yourfile-or-folder.html"). Now you can rename
the file or folder and then move it (drag and drop) into a new location. Dreamweaver
will maintain all of your links.
Avoid copying a file or folder and then pasting that copy immediately in a
new location on your site. This is one of the most common causes
of broken links for Web developers that are new to Dreamweaver.
|