http://bugs.winehq.org/show_bug.cgi?id=19225
--- Comment #7 from Austin English austinenglish@gmail.com 2009-07-08 11:54:01 --- (In reply to comment #5)
(In reply to comment #4)
Actually, looks like I misled you (sorry!). Seems XP does append .txt if the filename doesn't have an extension. If it does have a non .txt extension, XP preserves it (wine does the same).
Does the behavior on Windows depend on the "hide extension" Explorer setting? I forget its exact name, but it's the one that hides file extensions for known file types, and which is set by default on Windows.
No, it doesn't. .txt is appended with/without that set (it's in explorer/tools/folder options/view/Hide extensions for known file types.
Though, windows does adjust the title bar depending on if that's set, e.g., Hide extensions on: notepad foobar # choose yes: foobar - Notepad
Hide extensions off: notepad foobar1 # choose yes: foobar1.txt - Notepad