Home > Featured > Adding CGI and PERL file search support to Dreamweaver CS6
Bookmark and Share

Adding CGI and PERL file search support to Dreamweaver CS6

Posted on September 07, 2014 | Filed in Featured, PC Tips

Dreamweaver CS6 and CS5 does not search for CGI and PERL files as a default.

For example if you need to do a global find and replace inside a bunch of files with several CGI and PERL extensions such as .cgi or .pl, Dreamweave will skip these extensions.

To make Dreamweaver CS6 recognize these extensions I did this on Windows 8.

0. Backup any file that you are editing for unplanned screw-ups.
1. Run Notepad.exe in “Administrator” mode since you will be editing restricted files. Otherwise you will not be able to save your edits.
2. Find Extensions.txt in the following two locations:

Location 1:
C:> Users > User_Name > AppData > Roaming > Adobe > Dreamweave CC 2014 > en_US > Configuration > Extensions.txt
Add PL and CGI in the first line and save. You can enter the file extension type anywhere.

Location 2:
C:> Program Files (Or Program Files (x86) > Adobe > Adobe Dreamweaver CC > Configuration > Extensions.txt
Add PL and CGI in the first line and save. You can enter the file extension type anywhere.

Now restart DW6. If you do a search and replace now, you will find that DW6 will open up all .PL and .CGI extensions.

Sample of the previously mentioned “first line” is below:

First Line: HTM,HTML,SHTM,SHTML,XHTML,STM,SSI,JS,CGI,PL,JSON,…

Leave a Reply