File extension getter
Is there a method in the API that will get the file extension off of a file name so that I can filter out certain ones. I'm providing an example just in case I'm using the wrong terminology, which could be why I'm having trouble finding it in the API.
ex: MyProgram.java
and then I only want to print it to the screen if it has the java extension.
"Extension" isn't a cross-platform concept, so Java
hasn't gone out of its way to support it. Follow
walken16's suggestion of writing your own.
(It's trickier than you might think. Watch out for
edge cases like ".net" and "Finally." and
"too.many.dots".)Could you clarify what you mean by: '...........cases like ".net".................'
I had always assumed that an extension was an extension was an extension......
I only program on windows............
I normally use this in my code:
Gets The Extension.
@param f A File To get The Extension of
@return The Extension part of the FileName.
public static String getExtension( File f )
String fileName;
int index;
int L;
if( f != null )
fileName = f.getName();
L = fileName.length();
index = fileName.lastIndexOf('.');
if( (index > 0) && (index < (L - 1)) )
return fileName.substring( index + 1 ).toLowerCase();
return null;
}and just assumed that if somone renamed a file as blah.exe.old they meant it, and that Windows only ever cares about the .old part.
Am I missing something?
Not that anyone would ever get to run my programs, being just a hobbyist, still I like to think I'm learning the right way...........
Similar Messages
-
Add attachment: File extension getting changed to lower case
Hi
When I upload the file say 'abc.TXT' the file extension gets changed to lowercase 'abc.txt' in the Unix server.
I want the fileextension to be in Uppercase in the server also.
file from desktop --- abc.TXT
file on the server --- abc.txt
Iam using delivered Addattachment functionality to upload the file to the server
Peopletools 8.49
Please advice.
Edited by: 902509 on Dec 15, 2011 1:36 AMJust to help others who might be catching this off of search, here's a help link to PeopleBooks:
http://docs.oracle.com/cd/E25688_01/pt852pbr0/eng/psbooks/tpcl/book.htm?File=tpcl/htm/tpcl02.htm#H4082 -
I have the new Snow Leopard system on my iMac. I saved several images from an art site. The file extension on each image is "htm". when I try to open each image all I get is gibberish tpye text.
Can convert these "images" to jpeg files so I can view and edit them?
thanksIf the images have a .htm(l) file extension then you need to rename the files and give them an image file extension like .jpg<br />
That should be sufficient to make programs recognize them as images. -
How can I get a filename without the file extension?
I using a JFileChooser to select and read a file. Now I want to get the filename without the file extension
JFileChooser j = new JFileChooser;
String file = j.getSelectedFile.getName();
At the moment I get this result "file.dat". I need only the filename.....
Thank you
ThomasIt's quite that.
Here is the code to do that (and the method to get only the extension):
public String getFileName(String text) {
int ind = text.lastIndexOf(".");
if(0<ind && ind<(text.length()-1)) {
return text.substring(0, ind);
return(null);
public String getFileExtension(String text) {
int ind = text.lastIndexOf(".");
if(0<ind && ind<(text.length()-1)) {
return text.substring(ind+1).toLowerCase();
return(null);
}(I used 0<ind instead of ind>0 because with the code formatting there is a bug with > )
I hope this helps,
Denis -
Can't get DW to recognize new file extensions
I'm trying to get DW to recognize the following file
extensions as HTML: .pt, .zpt, and no extension.
I tried to follow the instructions in the article "Changing
and adding file extensions recognized by Dreamweaver MX": I entered
the two extensions in all caps in the :All documents and :HTML
documents lists in Extensions.txt. And (just as a guess) I tried
entering two successive commas, hoping they would be interpreted as
"no extension".
None of these tricks has enabled me to open any of the files
from the "Files" list in DW. I just get "Can't find a valid editor
for this file extension."Thanks, Alan. I was indeed editing the wrong Extensions.txt.
Editing the one under "\Documents and Settings" rather than the one
under "\Program Files" did the trick (I'm running Windows XP).
Hope springs eternal, so let me pursue the question about
extensionless files one step more. I'm trying to use DW as the
editor for developing a Plone site. Plone's basic HTML files are
extensionless, and I fear it would screw up the links within Plone
if I added extensions to these file names. However: Within Plone, I
can designate DW as my external editor, and then (by clicking on an
icon in the Zope Management Interface that underlies Plone) open
the extensionless Plone files in DW (tho only in code view). How
come DW will open a file that was tossed over from Plone, but it
won't open the same file from its own "Files" list? -
Windows7, Firefox version? (not sure what version! it doesn't come up under Properties!) but my computer was just upgraded to Windows7 last week & Firefox reinstalled, so probably the latest version. OverDrive (ODM file extensions) is a DRM software system used by public libraries to limit checkout/access of streamed audio & e-books. But the audiobooks won't download. The troubleshooting directions say that I shoule be able to find the ODM file extension under Tools -- Options -- Applications in Firefox. But it isn't listing. Perhaps this is why the download doesn't work? How do I get Firefox to work with ODM file extension?
Check the URL that doesn't work.
''If it is an http:// URL:''
When a web server sends Firefox a file, it includes a content-type header. This is what Firefox uses to determine how to handle the file, not the file extension. The server might be sending a generic download type such as "application/octet-stream" which you cannot assign to any one application. That's just a guess because I don't use that software.
''If it is an st:// URL:''
Firefox will check the Windows registry for novel protocols. This article has more information: http://kb.mozillazine.org/Register_protocol -
also say explorer not reading SWF files and I have to reload them? Not sure what that is either,
Thanks
JimHi Nancy
Trying to update my site got to make some changes. Do you work on sites via remote? I am on Cloud.
: Nancy O.
Sent: Monday, September 01, 2014 3:47 PM
To: James Neidner
Subject: Need help " Can't find a valid editor for this file extension" not sure why I am getting and this or what to do.
Need help " Can't find a valid editor for this file extension" not sure why I am getting and this or what to do.
created by Nancy O. <https://forums.adobe.com/people/Nancy+O.> in Dreamweaver support forum - View the full discussion <https://forums.adobe.com/message/6692200#6692200> -
How can I get Firefox to recognize Excel 2007-2010 XLSX file extension?
There is an Applications setting (under Tools/Options) for Excel 97-2003 Worksheet file extension. How can I add another setting for newer Excel file extension XLSX?
Check the URL that doesn't work.
''If it is an http:// URL:''
When a web server sends Firefox a file, it includes a content-type header. This is what Firefox uses to determine how to handle the file, not the file extension. The server might be sending a generic download type such as "application/octet-stream" which you cannot assign to any one application. That's just a guess because I don't use that software.
''If it is an st:// URL:''
Firefox will check the Windows registry for novel protocols. This article has more information: http://kb.mozillazine.org/Register_protocol -
Photoshop cs5 is not appending file extensions
in previous versions, photoshop appended to the file extension in the fiel save/save as dialog box. it no longer does this and when you save a file it does not append the file extension to the file name, resulting in unknown fiel type.
i am running windows 7 64-bit with photoshp cs5.
it does not make any since to have the option of appending the file extension if the program is not going to do it.
system info from photosho:
Adobe Photoshop Version: 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch]) x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:10, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 8
Processor speed: 2195 MHz
Built-in memory: 16361 MB
Free memory: 11097 MB
Memory available to Photoshop: 14709 MB
Memory used by Photoshop: 74 %
Image tile size: 1024K
Image cache levels: 6
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Normal
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: False.
OpenGL Crash File: Not Detected.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: NVIDIA Corporation
Video Card Renderer: GeForce GTX 560M/PCI/SSE2
Display: 2
Display Bounds:= top: 0, left: 1600, bottom: 1200, right: 3200
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 900, right: 1600
Video Card Number: 1
Video Card: NVIDIA GeForce GTX 560M
Driver Version: 8.17.12.6837
Driver Date: 20110427000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode: 1600 x 900 x 4294967296 colors
Video Card Caption: NVIDIA GeForce GTX 560M
Video Card Memory: -2047 MB
Serial number: 91198138241777799091
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\
Temporary file path: C:\Users\Owner\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
J:\, 440.8G, 301.0G free
H:\, 931.5G, 745.1G free
E:\, 232.9G, 59.9G free
D:\, 232.9G, 129.3G free
C:\, 440.8G, 301.0G free
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2010/10/04-23:36:11 64.441628 64.441628
adbeape.dll Adobe APE 2010/02/23-12:40:58 61.421986 61.421986
AdobeLinguistic.dll Adobe Linguisitc Library 5.0.0
AdobeOwl.dll Adobe Owl 2010/06/03-13:43:23 3.0.93 61.433187
AdobeOwlCanvas.dll Adobe Owl Canvas 3.0.68 61.2954
AdobePDFL.dll PDFL 2010/12/13-23:37:10 64.341419 64.341419
AdobePIP.dll Adobe Product Improvement Program 5.0.0.2021
AdobeXMP.dll Adobe XMP Core 5.0 61.134777
AdobeXMPFiles.dll Adobe XMP Files 5.0 61.134777
AdobeXMPScript.dll Adobe XMP Script 5.0 61.134777
adobe_caps.dll Adobe CAPS 3,0,116,0
adobe_OOBE_Launcher.dll Adobe OOBE Launcher 1.0.0.64 (BuildVersion: 1.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
AFlame.dll AFlame 2010/02/23-17:27:33 61.421976 61.421976
AFlamingo.dll AFlamingo 2010/02/23-17:27:33 61.421978 61.421978
AGM.dll AGM 2010/10/04-23:36:11 64.441628 64.441628
ahclient.dll AdobeHelp Dynamic Link Library 1,5,0,30
aif_core.dll AIF 2.0 53.422628
aif_ogl.dll AIF 2.0 53.422628
amtlib.dll AMTLib (64 Bit) 3.0.0.64 (BuildVersion: 3.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
amtservices.dll AMTServices (64 Bit) 3.0.0.64 (BuildVersion: 3.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
ARE.dll ARE 2010/10/04-23:36:11 64.441628 64.441628
asneu.dll AsnEndUser Dynamic Link Library 1, 7, 0, 1
AXE8SharedExpat.dll AXE8SharedExpat 2010/02/23-17:27:33 61.421978 61.421978
AXEDOMCore.dll AXEDOMCore 2010/02/23-17:27:33 61.421978 61.421978
Bib.dll BIB 2010/10/04-23:36:11 64.441628 64.441628
BIBUtils.dll BIBUtils 2010/10/04-23:36:11 64.441628 64.441628
boost_threads.dll DVA Product 5.0.0
cg.dll NVIDIA Cg Runtime 2.0.0015
cgGL.dll NVIDIA Cg Runtime 2.0.0015
CoolType.dll CoolType 2010/10/04-23:36:11 64.441628 64.441628
data_flow.dll AIF 2.0 53.422628
dvaadameve.dll DVA Product 5.0.0
dvacore.dll DVA Product 5.0.0
dvaui.dll DVA Product 5.0.0
ExtendScript.dll ExtendScript 2010/10/19-10:22:12 61.445301 61.445301
FileInfo.dll Adobe XMP FileInfo 5.0 61.134777
icucnv36.dll International Components for Unicode 2009/06/17-13:21:03 Build gtlib_main.9896
icudt36.dll International Components for Unicode 2009/06/17-13:21:03 Build gtlib_main.9896
image_flow.dll AIF 2.0 53.422628
image_runtime.dll AIF 2.0 53.422628
JP2KLib.dll JP2KLib 2010/12/13-23:37:10 64.181312 64.181312
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2, 0, 1, 11
MPS.dll MPS 2010/12/13-23:37:10 64.450375 64.450375
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.6161
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.6161
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.6161
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS5 CS5
Plugin.dll Adobe Photoshop CS5 CS5
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 2.0.0.746
PSArt.dll Adobe Photoshop CS5 CS5
PSViews.dll Adobe Photoshop CS5 CS5
SCCore.dll ScCore 2010/10/19-10:22:12 61.445301 61.445301
tbb.dll Threading Building Blocks 2, 1, 2009, 0201
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 1.0.0.68 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 1.0.0.68
WRServices.dll WRServices Thursday January 21 2010 12:13:3 Build 0.11423 0.11423
wu3d.dll U3D Writer 9.3.0.113
Installed plug-ins:
Accented Edges 12.0
ADM 3.11x01
Alien Skin Autolayer 4 4.0.0
Alien Skin Blow Up 3 3.0.0
Angled Strokes 12.0
Average 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Bas Relief 12.0
Blow Up 3.0.0
BMP 12.0.2
Camera Raw 6.6
Chalk & Charcoal 12.0
Charcoal 12.0
Chrome 12.0
Cineon 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Color Halftone 12.0.2
Colored Pencil 12.0
CompuServe GIF 12.0.2
Conté Crayon 12.0
Craquelure 12.0
Crop and Straighten Photos 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Crop and Straighten Photos Filter 12.0.2
Crosshatch 12.0
Crystallize 12.0.2
Cutout 12.0
Dark Strokes 12.0
De-Interlace 12.0.2
Difference Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Diffuse Glow 12.0
Displace 12.0.2
Dry Brush 12.0
Eazel Acquire 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Embed Watermark 4.0
Extrude 12.0.2
FastCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Fibers 12.0.2
Film Grain 12.0
Filter Gallery 12.0
Fresco 12.0
Glass 12.0
Glowing Edges 12.0
Grain 12.0
Graphic Pen 12.0
Halftone Pattern 12.0
HDRMergeUI 12.0
IFF Format 12.0.2
Ink Outlines 12.0
JPEG 2000 2.0
Lens Blur 12.0
Lens Correction 12.0.2
Lens Flare 12.0.2
Lighting Effects 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Liquify 12.0.1
Matlab Operation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Measurement Core 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Mezzotint 12.0.2
MMXCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Mosaic Tiles 12.0
Multiprocessor Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Neon Glow 12.0
Note Paper 12.0
NTSC Colors 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Ocean Ripple 12.0
OpenEXR 12.0.2
Paint Daubs 12.0
Palette Knife 12.0
Patchwork 12.0
Paths to Illustrator 12.0.2
PCX 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Photocopy 12.0
Picture Package Filter 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Pinch 12.0.2
Pixar 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Plaster 12.0
Plastic Wrap 12.0
PNG 12.0.2
Pointillize 12.0.2
Polar Coordinates 12.0.2
Portable Bit Map 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Poster Edges 12.0
Radial Blur 12.0.2
Radiance 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Read Watermark 4.0
Reticulation 12.0
Ripple 12.0.2
Rough Pastels 12.0
Save for Web & Devices 12.0
ScriptingSupport 12.0.4
Shear 12.0.2
Smart Blur 12.0.2
Smudge Stick 12.0
Snap Art 3 3.0.0
Solarize 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Spatter 12.0
Spherize 12.0.2
Sponge 12.0
Sprayed Strokes 12.0
Stained Glass 12.0
Stamp 12.0
Sumi-e 12.0
Targa 12.0.2
Texturizer 12.0
Tiles 12.0.2
Torn Edges 12.0
Twirl 12.0.2
Underpainting 12.0
Vanishing Point 12.0
Variations 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Water Paper 12.0
Watercolor 12.0
Wave 12.0.2
WIA Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Wind 12.0.2
Wireless Bitmap 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
ZigZag 12.0.2
Plug-ins that failed to load: NONE
Flash:
Yale
Gallery Wrapper
Edge FX CS5
Analog Photo FX
Mini Bridge
Kuler
Access CS Live
CS Review
CS News and Resources
Installed TWAIN devices: NONEkrwebb wrote:
The operating system has no problems with the filenames ... it is Photoshop that is not handling the names correctly.
Just tried this out on my Windows 7 64 bit system, and I get the same results using Photoshop.
When I save a file in Photoshop CS5 64 bit with the name 047. Crayon - Abstract the file is saved as 047. Crayon - Abstract without a file extension, no matter what document type I select in the drop-down.
In Word I get the expected result:
When I save a file in Word with the name 047. Crayon - Abstract the extension is automatically added (047. Crayon - Abstract.docx) -
Download ZIP file without changing file extension
I regularly download a zipped csv file, of the format: "filename.csv.gz". As the name does not change, Firefox adds a digit to distinguish it, so for example I get "filename.csv-3.gz". This is a pain as it changes the file extension which means that I cannot open the extracted file without first renaming it. I want to keep an archive of all the files, so deleting them each time isn't really an option, and neither is moving them to a different location each time. Is there any way the naming convention for downloads can be changed?
I think you have to disable it in your Operating system:
8dot3NameCreation
[http://support.microsoft.com/kb/121007] -
How can you hide file extensions?
Hello i have a ton of pictures in seperate folders with the extensions .JPEG and i really hate that it shows. I have tried going to the finder and unchecking the show all file extensions, but it does not fix that issue. I also saw this in another topic but i haven't been able to understand it.
Open the Script Editor in the /Applications/AppleScript/ folder and paste in the following:
tell application "Finder"
set extension hidden of every file of entire contents of (selection as alias) to true
end tell
Select the folder enclosing the documents in the Finder, and press the Run button in the Script Editor. If they are enclosed by multiple folders or are at different levels in the folder structure, select the first folder which encloses all the documents.
(22397)
I don't know if it still works. Im also not sure where i put the folder. I have tried programs but they take away the extension and make the picture not open up then.
Please if you can helpyes i found it, but this is how i enter it i dont think its right:
tell application "Finder"
set extension hidden of every file of entire contents of (selection as alias) to true
end tell
/Users....
then i get Syntax error "/" -
I am getting below error message while search crawl in sharepoint foundation 2010 search for only .VSD files and not for any other docs type.
The filtering process could not be initialized when trying to process this item. Verify that the file extension is a known type and the item is not corrupt.
I have installed the Microsoft Filter Pack 2.0 in search server but still i am getting the same error.
<//span>
Any one's help will be appreciated.
Regards,
Rashmi
Rashmi SinghalHi Rashmi,
1. Checked the file extension is added or not to the search file types.
2. Checked file name has any invalid characters.
3. Resetting the crawl index and run a full crawl .
Best Regards.
Kelly Chen
TechNet Community Support -
Double file extensions keep showing up when saving a file in Illustrator CS3???
I just installed the CS3 suite and when I am saving files in illustrator I keep getting double file extensions. For example if I save a file named "filename" as a .eps file it shows up in the save window with filename.eps.eps Also, if I click through the possible file types to save it keeps adding them one after the other so if I click. say pdf eps and ai the file in the "Save As:" window looks like this " filename.pdf.eps.ai.ai" Any ideas why this is happening? I keep having to mouse click in the "Save As:" box and delete the extra extension. This is really annoying!!
I am running the design premium CS3 on OSX 10.5 on a mac pro.
Thanks.>Wade... I've seen it... and reported it originally to Adobe. I've since realized it's a 10.5.1 issue. It doesn't happen with 10.4.11, just 10.5.1
I've seen extra periods (.) and extra extensions.
then you and Dave have the same conflict with a third party software, corrupt font, corrupt preference or the like because it is not happening o my Mac Pro and I have the same model Mac as you do and I am working fine in 10.5.1 and only problem I have had with AI CS 3 is when I tried to place a 3D CAD file with the extension .dxf which is not really supported.
I have not seen this even once. Would you like to see screen shots, it honestly is not a 10.5.1 or Illustrator issue on its own. This has to be user specific. -
Quicktime no longer exporting my movies with file extensions
Hi all, QT is no longer exporting or saving movies with file extensions. The only way i can view extensions is to turn on all extensions in finder which means i get .app in my apps folder which i find looks naff, have i changed something to cause this?
CheersIn the export or save dialog windows is a check box to "hide" the file extension.
Remove that check mark. -
Dreamweaver CC and Windows 8.1 - Can't Find A Valid Editor For This File Extension
Was running the latest version with no issues and then I loaded Office 2013 .. Now when I am in the remote site and try to double click on a .cfm file, I get a dialog box..Can't Find A Valid Editor For This File Extension..
I tried the support chat and they said Dreamweaver support was not available, try again later???
So I thought I would reinstall the CC version and now I can see the Dreamweaver icon next to the files but still ... can't open the file..
Any assistance would be appreciated?
LeoThe issue is only in Windows 8.x where when Dreamweaver CC is installed, it is not able to turn on the file type associations by default. The workaround for now is to manually add the extensions both within Windows and then within Dreamweaver CC itself.
Go to Control Panel > Programs > Default Programs > Set Your Default Programs and select Dreamweaver CC and then select 'Choose defaults for this program' and Select All or the extensions you want to open in Dreamweaver CC
Start Dreamweaver CC and go to Edit > Preferences > File Types/Editors and add '.cfm .cfc' to the extensions and then add C:\Program Files (x86)\Dreamweaver CC\Dreamweaver.exe then click on Apply and Close
That should be it.
James
Maybe you are looking for
-
How many Instances can I install on one machine?
Hi Folks, Do you know how many oracle instances I can install on my Win OS machine. I already have three different instances. Typically how many instances Oracle recommends to setup in one machine to ensure performance improvement? I use Oracle 9 and
-
Hi, I need to do Warranty Process for Vendor(Transaction wise). 1.When I am raising a Purchase Order to Vendor for the material which is in the Warranty Period, the system should allow to raise PO without Price(Free Item is disabled) 2.In case of ser
-
When I do a manual refresh on certain sites like NY Times or CNN, or when sites like NYT periodically push an update through, the updates won't stop loading. It's as though the update never completes. The rotating circle icon on the affected tab just
-
How do I migrate my itunes to my new laptop?
I just got an a Dell (Inspiron 6000) and want to transfer my songs (iTunes) from my Sony F560. The guy at Apple Store in Atlanta said that instructions to do this could be found here on the Apple site. Can anyone post a link to or detail to me how to
-
I'm designing in flash. Making a flash app. I was asked to make an O.S. clone. Like Microsoft Windows. It is for our server and I am desprate. I have no clue what so ever. Can any one help? I need a login system and stuff close to an operating system