Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

identify file types: .zip, .rar, .git or .jpg

Status
Not open for further replies.

jslmvl

Vendor
Jan 26, 2008
268
GB
Hi,

How to identify a file is .zip, .rar, .git or .jpg without using its extention?
 



How could you, as the name to the left of the extension is not necessarily unique, and only becomes unique WITH the extension?

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Sorry, I didn't explain clearly. The extention was changed! For example, file.vbs file was changed to file.zip.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top