b11_ said:
Downloaded a file using utorent but the file has no file extention. Tryed to
unrar the file but that did not work.
Try the following program.
http://gnuwin32.sourceforge.net/packages/file.htm
Look for this line on the page. When you click the "Setup" link, a download
will start.
Sources Setup 764039 7 May 2009 75ae9df7d6c2220a983ab592e798d360
The program works from the Command Prompt (MSDOS) window.
For a quick test of the program, I didn't bother using
the Setup.exe . I downloaded the "bin" and "dependencies"
files. Then gathered the following files into one folder.
file.exe
magic1.dll
regex2.dll
zlib1.dll
My_test_file
The test file, is the thing you're trying to identify. Notice
my test file has no file extension.
I opened the Command Prompt window, and used the "cd" change
directory command, to navigate to the folder containing
the four files plus test file. In the command prompt
window, I entered the command
file My_test_file
and it returned...
My_test_file; RAR archive data, v1d, os: Win32
That tells me the file is actually a RAR file, and I
can now rename the file.
My_test_file.rar
That program identifies files in the same way that
the "file" command does on a Unix computer. A Unix
computer includes the /etc/magic file, which contains
the identifiers for the various file types.
If you test the file of unknown type you've downloaded,
there is a small chance that program can identify it.
Because there are so many file formats, there is no
guarantee that program knows all of them. One of the
reasons the Unix version of the program has a
configuration file of /etc/magic, is so new file
descriptions can be added to the configuration of
the program. That accommodates new file types as they
are discovered.
HTH,
Paul