views:

252

answers:

2

I have been having problems with creating a download list of files for a downloader and was getting unexplained "File Does Not Exist" returns. My .avi files were returning found but but .exe and .txt files were getting the not exists.

I have now found by pulling in the whole directory and examining the file contents that my .exe files are showing ".exe.exe". My .txt files are showing ".txt.rtf". Wow, browsing the file directory in Server 2008 only shows a single extension. I don't see an option to display the extension as a column, just the "type". My directory looks like this:

Name           Type
File1.exe      Application
File2.txt      Rich Text Document
File3.avi      AVI File

I had renamed some of these files, maybe I just cannot rename files. I will try using originals ans see if I am ok. Maybe I need to rename the offending files without the displayed extensions. Is this just something weird with the server browser?

Thanks, James

+1  A: 

Have you checked that "Tools > Folder Options > View > Hide extensions for known file types" is unchecked?

The option should be in (more or less) the same place on Windows Server 2008, I'm answering from home so I only have XP Pro to go on ;)

Obvious I know, but it sometimes is the obvious answer that we overlook.

Just to add - there's no option to show the extension in a separate column.

ChrisF
I am trying to locate this on the server. This is Windows Explorer.
James
Ok, If I browse the folder in IIS, I can see the extra extensions. From Computer, no luck there. Anyway, I have I way to see what is really there now. Thanks
James
Got the folder options fixed..... Thanks
James
+1  A: 

Windows has a "feature" that hides file extensions for known file types. Always turn that off or you'll find yourself creating problems like this.

Argalatyr
Yes, Now if I could just find it! This is Server 2008
James
I can see the extra extensions in IIS, but not Computer...
James
Try the Windows Key and E to open Explorer. They probably still have the option available within Explorer itself.
David Andres
In Server 2008, it's in the *Folder Options* item in the *Control Panel*.
Argalatyr
Got it! Thanks a bunch......
James
You're welcome, glad to help
Argalatyr