Jump to content


.txt extension problem


7 replies to this topic

#1 OFFLINE   jg24kev

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 23 July 2005 - 03:22 AM

Hey, I'm new here, obviously.

I've got a should-be-very-simple question.

I'm using a program called Mobile6, it's an EPA issued program which calculates emission results for cars, etc.

anyway, the program uses a DOS interface and requires an input file with the extension ".IN"

this input file is always compiled in notepad. So, when I go to save the file, I save it as whatever.IN, not as .IN.txt or anything, but of course notepad adds its .txt extension. I can't get XP to stop associating it with notepad.

even if I change the folder options of that file to always open with Mobile6, it still thinks it's a .txt file. I've used another XP Pro PC where when you saved the file, it appeared as whatever.IN.txt and you could simply rename it and remove the .txt part, and then XP wouldn't associate it with any particular program.

Please help guys, this is driving me nuts!

thanks, Kevin

#2 OFFLINE   rridgely

    I hate computers

  • Moderators
  • 8,874 posts
  • Gender:Male

Posted 23 July 2005 - 03:55 AM

When saving (file>save as) under the box where you type the name of the file is a box that says "save as type" default is .txt change it to all files.

#3 OFFLINE   Tarun

    Lunarian

  • Banned
  • PipPipPipPipPip
  • 3,071 posts

Posted 23 July 2005 - 03:58 AM

Or show extensions and manually rename it.

#4 OFFLINE   DjLizard

    Dial-a-fix author

  • Members
  • PipPipPipPip
  • 1,339 posts

Posted 23 July 2005 - 04:54 AM

rridgely: It's obvious that you didn't try that [because it doesn't work that way].

When you save the file in notepad, use quotation marks around the filename.
"file.in" will not become file.in.txt, thankfully. This is a notepad limitation.

#5 OFFLINE   jg24kev

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 23 July 2005 - 05:13 AM

thanks guys..

actually it seems that the best way to do this, that I've found,

is to go to Control Panel>Folder Options>Views

then uncheck the box where it says 'hide extensions for known file types'

this will then allow you to rename it, removing the .txt

#6 OFFLINE   Tarun

    Lunarian

  • Banned
  • PipPipPipPipPip
  • 3,071 posts

Posted 23 July 2005 - 02:47 PM

jg24kev, on Jul 23 2005, 01:13 AM, said:

thanks guys..

actually it seems that the best way to do this, that I've found,

is to go to Control Panel>Folder Options>Views

then uncheck the box where it says 'hide extensions for known file types'

this will then allow you to rename it, removing the .txt

<{POST_SNAPBACK}>

Exactly what I said here.

#7 OFFLINE   DjLizard

    Dial-a-fix author

  • Members
  • PipPipPipPip
  • 1,339 posts

Posted 23 July 2005 - 03:31 PM

I figured it was easier to type two quotation marks initially than to change your system settings and constantly rename files right after saving them.

#8 OFFLINE   rridgely

    I hate computers

  • Moderators
  • 8,874 posts
  • Gender:Male

Posted 23 July 2005 - 06:05 PM

rridgely, on Jul 22 2005, 11:55 PM, said:

When saving (file>save as) under the box where you type the name of the file is a box that says "save as type" default is .txt change it to all files.

<{POST_SNAPBACK}>


I apologize for the false info. :(