Question

Changing a file's extension without annoying prompt.

Asked by: billmercer

When I rename a file in Explorer, I hate having to respond to the obnoxious "If you change a file name extension, the file may become unusable"  prompt. I often change file extensions, and I don't like being second-guessed by my OS. Is there a way to disable this prompt?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-02-27 at 19:49:59ID21331200
Tags

file

,

change

,

name

,

extension

Topic

Windows XP Operating System

Participating Experts
5
Points
362
Comments
16

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Treeview, extenal file?
    Is it possible to read an external file at runtime and use it as the data in the tree view? Like going to load under list editor, only having it load at runtime, not design time. any help would be appreciated!
  2. Extenal Exception Error (Word 97) through Delphi
    Please Help, Im Using Delphi 4 which opens a Word Document by using the commands (It uses Word_TLB unit) WordApp := CoApplication_.create; WordApp.Visible := true; WordApp.Documents.Open(docFileName,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptyparam,emptypar...
  3. Read MAC Extenal hard drive from windows
    I have extenal harddrive with MAC format ,. now i need read the context from windows . please help

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: sajuksPosted on 2005-02-27 at 19:58:48ID: 13417206

In Eindows explorer Go to Tools>Folder Options>View
put a checkmark in Hide File Extensions for Known File Types.
See if the problem still persists

 

by: calguyPosted on 2005-02-27 at 20:03:06ID: 13417226

Hi Billmercer,

I found the following information on the web.  Hope it helps... Calguy.

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

To Disable Windows File Protection (Windows 2000/XP):

Windows 2000 and XP include a feature called Windows File Protection (WFP), part of the System File Checker, which is intended to avoid some of the common DLL consistency issues.

*** This feature may also block valid attempts to change system files and it can therefore be disabled using this tweak.

Open your registry and find the key below.
Change the value of "SFCDisable" to equal "ffffff9d" to disable WFS or "0" to enable it. The other valid hexadecimal values are:


1 - disabled, prompt at boot to re-enable
2 - disabled at next boot only, no prompt to re-enable
4 - enabled, with popups disabled
ffffff9d - for completely disabled
Restart Windows for the change to take effect.

Additional Steps for Windows 2000 Service Pack 2 and Windows XP
This setting is disabled in Windows 2000 SP2 and Windows XP, and needs to re-enabled using a hex editor and changing SFC.DLL (or SFC_OS.DLL for Windows XP) following these instructions:

Windows 2000 SP2

Make a backup the SFC.DLL in the C:\WINNT\SYSTEM32 directory.
Make an additional copy of SFC.DLL called SFC1.DLL and open it in a hex editor.
At offset 00006211 (6211h) you should find the values "8B" and "C6". Do not continue if you are unable to find these values.
Change the values "8B C6" to read "90 90" and save the changes.
Run these commands to update the system files:
copy c:\winnt\system32\sfc1.dll c:\winnt\system32\sfc.dll /y
copy c:\winnt\system32\sfc1.dll c:\winnt\system32\dllcache\sfc.dll /y

If you are prompted to insert the Windows CD, click Cancel.
Restart Windows for the change to take effect.
Windows XP

Make a backup the SFC_OS.DLL in the C:\WINDOWS\SYSTEM32 directory.
Make an additional copy of SFC_OS.DLL called SFC_OS1.DLL and open it in a hex editor.
Windows XP (no Service Pack)
At offset 0000E2B8 (0E2B8h) you should find the values "8B" and "C6".
Windows XP (Service Pack 1)
At offset 0000E3BB (0E3BBh) you should find the values "8B" and "C6".
Do not continue if you are unable to find these values.
Change the values "8B C6" to read "90 90" and save the changes.
Run these commands to update the system files:
copy c:\windows\system32\sfc_os1.dll c:\windows\system32\sfc_os.dll /y
copy c:\windows\system32\sfc_os1.dll c:\windows\system32\dllcache\sfc_os.dll /y

If you are prompted to insert the Windows CD, click Cancel.
Restart Windows for the change to take effect.
Once these files have been updated apply the registry setting above.

Note: You must manually modify the operating system files using a hex editor to allow this tweak to disable SFC on Windows 2000 (SP1+) or Windows XP.

     
  (Default) REG_SZ (value not set)  
  SFCDisable REG_DWORD 0xffffff9d (4294967197)  
 
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVers...  
 
Registry Settings
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Value Name: SFCDisable
Data Type: REG_DWORD (DWORD Value)
Value Data: 0 = enabled (default), ffffff9d = disabled
 
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

 

by: billmercerPosted on 2005-02-27 at 21:55:20ID: 13417528

Sajuks, thanks for your response, however it doesn't really address the problem. I don't want to hide the extensions, I want to see them, and be able to change them.

Calguy, I will give your suggestion a try, though it makes me nervous to disable SFC just for this convenience.
I'd really like to just disable the prompt without changing anything else.


 

by: SystmProgPosted on 2005-02-28 at 00:52:23ID: 13418017

>>>When I rename a file in Explorer, I hate having to respond to the obnoxious "If you change a file name extension, the file may become unusable"  prompt. I often change file extensions, and I don't like being second-guessed by my OS. Is there a way to disable this prompt?

One second...i would like to say something....Do you see the Extension when you change the file name ? If not then first goto Folder Options > View Tab > and untick "Hide Extension for Known file types" click Apply and Ok. Now you try to change the file name.

 

by: sajuksPosted on 2005-02-28 at 00:55:55ID: 13418027

are the files registered with a known opener ? like the way txt files are opened with notepad.in the same way try registering the extns that u r modifying to open with a known application.

 

by: spiderfixPosted on 2005-02-28 at 03:15:33ID: 13418523

That caution warning comes from the shell32.dll

If you unregister that *.dll it's going to be a world of hurt so it just isn't worth it...your stuck with the warning.

 

by: ScrptMastaPosted on 2005-02-28 at 08:03:45ID: 13420634

Does renaming them from the command prompt using REN do the same thing to you?

 

by: billmercerPosted on 2005-02-28 at 08:54:26ID: 13421248

No, and if I have to do a lot of renaming, I usually use a command prompt or a third-party utility.
I'm just annoyed that I can't rename files from within Explorer without this stupid and useless prompt.

 

by: billmercerPosted on 2005-02-28 at 20:38:57ID: 13426387

Spiderfix, can you give me a reference for the shell32.dll thing?

 

by: spiderfixPosted on 2005-02-28 at 21:06:07ID: 13426598

I'd love to billmercer but I didn't read that one, it's from memory.

All caution errors come from the operating system (Windows) and Microsoft has always compiled them
in the shell32.dll. I just decompiled (chill M$) the shell32.dll and here is the source for the caution rename
popup...

1115 DIALOGEX 0, 0, 240, 40
STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Rename Warning!"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
   CONTROL 32516, 8193, STATIC, SS_ICON | WS_CHILD | WS_VISIBLE, 5, 5, 21, 20
   CONTROL "", 8192, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 35, 5, 195, 8
   CONTROL "&In the future, do not show me this dialog box.", 4610, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 35, 5, 195, 10
   CONTROL "&Yes", 6, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 95, 20, 50, 14
   CONTROL "&No", 7, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 150, 20, 50, 14
}

 

by: spiderfixPosted on 2005-02-28 at 21:35:06ID: 13426706

The nest I posted may make you ask more questions because you see the "opt out" option there, so
I'll take a stab at explaining why that is...

...even though the original box had an "opt out" radio button checkmark obviously M$ took that option
out and the calls go into other libraries to end up showing you what you see on the rename warning
box.

What I posted would be the main call for the rename popup. That is the beauty of dynamic link libraries
and how they function. There will be common ground in a library that another process (or task call) uses,
so why bother rewriting code you've already written when you can make is a *.dll. The *.dll may have
a nest in the code that is a common call that many other processes (or task calls) use, so when the
common code is a nest in a dynamic library that nest is sitting in memory because this is the essence
of libraries is that they have the ability to "share" a snippet they contain.

So I can write a library and keep it much smaller by putting a snippet in it that calls a nest sitting in
memory from another library.

So although the rename nest I posted is the main call...the entire process you see on your desktop
(the rename caution warning popup) is the result of gathered nests (or snippets) from other libraries
sitting in memory.

Where all the other snippets lay and within which *.dll(s) they come from is something someone would
have to put in a couple of hours to gather all that info. I'd love to show you but I can't justify the two hours
in the process explorer and the debugger.

You could pay a programmer to write you a library that interacts with the M$ libraries and offers you
the original "opt out" checkbox or something like that. Maybe some mouse-click code in a library to
click the OK button on the rename popup a millisecond after it pops up is also possible. I doubt you'd
want to pay that kind of fee to dump a default warning box though.

I suppose you could also write a script with a robot mouse clicker call in there and use a command prompt
to prompt you for paths to file names you want to rename the extension on. Again [though] you'd either
have to write that script yourself or pay a script writer to code it all up for you...so your in a position
of paying someone a pretty high rate for the script. It's way cheaper to click the OK button yourself. ;)

I hope I made sense out of all that. Sometimes I can't explain things on paper the way I think them out.

 

by: billmercerPosted on 2005-02-28 at 23:07:46ID: 13426951

Six bazillion registry keys, but the one I want doesn't exist. Oh well, such is life.


 

by: spiderfixPosted on 2005-03-01 at 01:23:58ID: 13427425

>>Six bazillion registry keys, but the one I want doesn't exist<<

You think that's bad...Longhorn has no regedit or registry. My goodness, what was Microsoft thinking when they
decided to implement that? Until I see the finished release (2007...2008) I am holding off bashing that O/S for now.

 

by: ScrptMastaPosted on 2005-03-01 at 05:54:52ID: 13429103

I wasn't that impressed when I played with one of the Longhorn alpha builds, it was still having some memory issues at that time.

 

by: billmercerPosted on 2005-03-01 at 10:50:19ID: 13432154

Hmm, that could be a good thing, depending on what they're replacing it with. Personally, I like text files for configuration.

 

by: ScrptMastaPosted on 2005-03-02 at 05:52:39ID: 13439140

Maybe they're going back to using .ini files, lol.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...