Computer Help forum

General discussion

Changing file extention

by TivoBoxBoy / April 13, 2009 9:47 PM PDT

Hi,

I have always wondered about this... We have an application that creates a file with a ".pro" extention. Part of our process is to change the file's extention to "dbf" so it can be read by access. I can also change it to a .txt file and open it with notepad.

What does changing the files extention do, it seems like all it does is tell which program to use to open it?

Thanks

Discussion is locked
You are posting a reply to: Changing file extention
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Changing file extention
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Simple text files. . .
by Coryphaeus / April 13, 2009 11:15 PM PDT

will do this. They can also be a .log file and a .bat file and some .ini files. But other programs cannot have their extension changed and still work. Try changing a .dll file to something else. Or .exe to .com.

Collapse -
Yep that's right.
by MarkFlax Forum moderator / April 14, 2009 9:14 PM PDT

"it seems like all it does is tell which program to use to open it"

That's it essentially. In Windows, (I don't know other OSs but i assume they are the same), the file extension 'associates' that file with a particular process.

Notepad will open most files if you drag a file into the Notepad window, (Wordpad for larger files), but other than that the file extension identifies which application is needed to use that file properly.

Mark

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

Does BMW or Volvo do it best?

Pint-size luxury and funky style

Shopping for a new car this weekend? See how the BMW X2 stacks up against the Volvo XC40 in our side-by-side comparison.