downloaded file has no file extention

  • Thread starter Thread starter b11_
  • Start date Start date
B

b11_

Downloaded a file using utorent but the file has no file extention. Tryed to
unrar the file but that did not work.
 
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
 
b11_ said:
Downloaded a file using utorent but the file has no file extention. Tryed to
unrar the file but that did not work.

If Notepad will open the file, see if there any text lines that
might give an indication of file type.

Ben
 
b11_ said:
Downloaded a file using utorent but the file has no file extention. Tryed to
unrar the file but that did not work.

Of course utorrent can be pretty wild, but what sort of file were you
expecting to get?

Bill
 
Downloaded a file using utorent but the file has no file extention. Tryedto
unrar the file but that did not work.

I think Windows likes to determine file types by the extension. If
the file has no extension, how would Windows know what kind of file it
is and decide what to do with it?

If you think the file is a RAR file and has no extension, why don't
you rename it to put a .rar extension on it so it will be interpreted
as a RAR file and then try to uncompress it.

Or, you could just try some things.
 
Back
Top