Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: remove file extension requirements tweak

12 Jan 2012   #1

Windows 7 premium x86_64, Fedora 16 x86_64, MacOSX lion x86_32
 
 
remove file extension requirements tweak

Does anyone know if there's a registry edit you can do to remove window's pestering you to put a file extension onto your files? I've looked everywhere and I can't find anything.

The problem I'm having is as follows. I'm constantly switching between fedora (linux) and windows for work and I'm sick of having to rename the files manually from command prompt to remove the '.xxx' extensions every time I edit them. Work expects them to be sent in with alphanumeric keys as file names without any extensions so I need to make sure to remove it because it needs to get uploaded every time it's changed. I would just do my work all in fedora but the drivers for some of the tools I need don't run properly with wine.

My System SpecsSystem Spec
12 Jan 2012   #2

Windows 7 Pro x64 SP1
 
 

Quote   Quote: Originally Posted by Fewmets View Post
Does anyone know if there's a registry edit you can do to remove window's pestering you to put a file extension onto your files? I've looked everywhere and I can't find anything.

......
Welcome to the windows 7 forums.

Windows does most everything to files based on the file extension after the last .

I don't believe that there is a solution as whenever a program creates a file, the system will either add an extension automatically or ask you.

You could run a program to remove file extensions but windows would not be able to open them as the file extension is windows key to which file to use to open them. Kinda like the macintosh used a second file to determine which program to open the file with. Resource fork and data fork is what they are called in macintosh.

I think your out of luck.

Rich
My System SpecsSystem Spec
12 Jan 2012   #3

Windows 7 premium x86_64, Fedora 16 x86_64, MacOSX lion x86_32
 
 

I understand this, and thank you for your help, but I knew all of the windows information already. I have no intention to run the file and in windows fileopen dialogue boxes you can see them by filtering with the usual *.* for unrecognized file extensions. Windows itself only deals with file extensions when you're executing the file, say by double clicking it and even that can be gotten around by adding a blank entry to the registry key with file open rules. Very few programs within windows use file extensions for decoding. most of them specify the encoding in the open dialogue box or search for the most likely encoding.

I basically just want to disable the check for file extension when you rename a file from windows shell. I know there must be a way, I just can't find it. As bad as windows is, microsoft was pretty good with making registry links to change practically every dynamic windows item.
My System SpecsSystem Spec
.


12 Jan 2012   #4
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Fewmets, and welcome to Seven Forums.

Do you have the Hide extensions for known file types box unchecked in Folder Options to see all file extensions?

I'm able to rename a file to edit out the .xxx file extension to only have the text name left. For example, I renamed REG-2.jpg to just REG-2 like below by just right clicking on the file and clicking on rename.

remove file extension requirements tweak-rename.jpg

Hope this helps,
Shawn


My System SpecsSystem Spec
13 Jan 2012   #5

Windows 7 premium x86_64, Fedora 16 x86_64, MacOSX lion x86_32
 
 

Yeah, I've got file extension hiding disabled. That's one of the first things I do whenever I do a fresh install of windows, but if I try to rename a file without an extension I get a popup saying that the file must have an extension. I get the exact same thing in save-file dialogue boxes. I don't know. Maybe it's a setting I accidentally tripped somewhere when I installed. I guess I'll just go poke around some more. Thank you for your help. If a guru and an admin can't help me I doubt that anyone else can :P. Worst comes to worst I guess I can just deal with command prompt.
My System SpecsSystem Spec
13 Jan 2012   #6

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 16 MATE (64 bit)
 
 
Linux Script?

Quote   Quote: Originally Posted by Fewmets View Post
Does anyone know if there's a registry edit you can do to remove window's pestering you to put a file extension onto your files? I've looked everywhere and I can't find anything.

The problem I'm having is as follows. I'm constantly switching between fedora (linux) and windows for work and I'm sick of having to rename the files manually from command prompt to remove the '.xxx' extensions every time I edit them. Work expects them to be sent in with alphanumeric keys as file names without any extensions so I need to make sure to remove it because it needs to get uploaded every time it's changed. I would just do my work all in fedora but the drivers for some of the tools I need don't run properly with wine.
Couldn't you just write a script (for Fedora) that strips all of the file extensions off of the files (in a given directory)?
My System SpecsSystem Spec
14 Jan 2012   #7

Windows 7 premium x86_64, Fedora 16 x86_64, MacOSX lion x86_32
 
 

Quote   Quote: Originally Posted by lehnerus2000 View Post
Couldn't you just write a script (for Fedora) that strips all of the file extensions off of the files (in a given directory)?
Yeah, but that involves switching back to fedora after I've edited them and that takes even longer then typing "move x.txt x" into cmd or powershell for 5 or 6 files.
My System SpecsSystem Spec
14 Jan 2012   #8

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 16 MATE (64 bit)
 
 
VM?

Quote   Quote: Originally Posted by Fewmets View Post
Quote   Quote: Originally Posted by lehnerus2000 View Post
Couldn't you just write a script (for Fedora) that strips all of the file extensions off of the files (in a given directory)?
Yeah, but that involves switching back to fedora after I've edited them and that takes even longer then typing "move x.txt x" into cmd or powershell for 5 or 6 files.
I only mentioned that because you said, you have to swap between Windows and Fedora constantly anyway.

The same thing applies for Windows though.
Couldn't you just write a batch file or Powershell (or vb) script that strips all of the file extensions off of the files (in a given directory)?

Quote   Quote: Originally Posted by Fewmets View Post
I would just do my work all in fedora but the drivers for some of the tools I need don't run properly with wine.
What about using a Fedora VM in Windows (or a Windows VM in Fedora)?
My System SpecsSystem Spec
Reply

 remove file extension requirements tweak





Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:16 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33