A suffix appended to the end of a filename, in order to identify the type of file. It is (typically) separated from the filename by a period symbol.
Questions tagged [file-extension]
1147 questions
-3
votes
1 answer
Getting the file extension of a filename in VB.NET?
How can I get the file extension of a filename in VB.NET? Let's say that my string is "Jim.jpg". I want to get ".jpg".

Mark Zukerman
- 85
- 1
- 3
- 8
-4
votes
1 answer
It is safe to show the extension of file on website?
I want to know whether showing the extension of a file in the website's URL is safe or not.
For example:
www.example.com/contact.php
www.example.com/contact

WaleedGRT
- 13
- 1
- 3
-4
votes
2 answers
how to know actual file type in java
I have file for example 5555.33 but in fact file is arj archive file
String ext = FilenameUtils.getExtension("C:\\5555.33");
the Extension returns 33 file. How to get actual file type arj from this file

shms
- 79
- 1
- 1
- 8
-4
votes
2 answers
Why android application extension .apk? why not .jar or .jad?
Why google uses .apk for their application file extension name?? Why they didn't uses .jar , .jad or any another file extension??
The only reason I've come far as possible is
.apk means Android Application Package.
I know they bundled the…

Vikalp Patel
- 10,669
- 6
- 61
- 96
-5
votes
1 answer
C# resident program to monitor and disallow user to change a particular type of file's file extension
Is it possible to write a c# resident program to monitor and disallow user to change a particular type of file's file extension?
For example, whenever a user wants to change "abc.doc"'s file extension to "abc.jpg" . The monitoring program will…

Frankie Yip
- 70
- 4
-6
votes
3 answers
.raw file and how to open it? (not GIMP/PICASA)
EDIT: If it helps I think this application is based in html in some fashion.
I have a bunch of .raw files that are used by a java application (not mine), but I just wanted to take a look at them (atm).
I tried GIMP, PICASA, IrFanView but without…

Juan
- 521
- 1
- 11
- 28
-7
votes
1 answer
Is fopen only for .txt extension possible?
I use fopen in my c++ code to open a textfile. But i found out, that this only works with .txt file extension, for example not with .pcap:
//this works
snprintf(buf, sizeof(buf), "/sdcard/%s.txt", filename);
FILE* f = fopen(buf, "w");
//this…

M. Zim
- 1
- 1
- 5