• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

How to read .IN file as text

I have some files with the suffix .IN    If I can, I need to turn them into text files.  How?
0
RUSTY
Asked:
RUSTY
  • 3
  • 2
  • 2
  • +2
1 Solution
 
tuviCommented:
What are the files? What format? Is it .IN or is it .INI???
0
 
WDBCommented:
Right click the file and then drag it into an open notepad session. It will be placed there as text.
0
 
ACScommCommented:
If the file is originaly a text file, or contain text ( not any file of a program that you changed the extention... ) you can open any text editor, or a word proccesor program
( Notpad, Word etc' ) then open the file you need to deal with,
now all you need to do is to save the file using "Save As" File name,
and choose the text extention ( i.e. filename.TXT )
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
RUSTYAuthor Commented:
The suffix is .IN     I guess the problem I'm having now is that it says the file is in use.    There is no way for me to be sure NOone is using it at any certain time.    It won't let me copy it, open it, or rename it.    If I can get around this, then I can try to open it in notepad or such.    Let me know, thanks.
0
 
RUSTYAuthor Commented:
I upped points to 90.  Please let me know how to access the file while in use, if possible, so I can try your answer, WDB.  Thanks.
0
 
WDBCommented:
Restart Computer in DOS mode and then copy the file to a different directory. Restart Windows and then try the newly copied file with notepad.
0
 
RUSTYAuthor Commented:
Unfortunately, the .IN files live on our server.  Can I access the server in DOS somehow?
0
 
johncookCommented:
Rusty,
If you are on a Novell server you may not have been granted the required rights to modify or move that file. You may need to contact your server administrator to see if the directory or file is restricted in some way.
Once this issue is cleared up...
Acquire a hex editor(any should work)..Load the file into it and look for any special types of characters, if you see any the file is not a straight text file and thus will need to be viewed by a special program...such as the Hex editor you will now have.

John C. Cook
0
 
johncookCommented:
A follow up to my proposed answer...
To convert it to a pure text file edit out all of the non-alphanumeric characters from the file.
I f you are versed at the 'C' langage you could easily write a program to strip the non-alpha char's from the file and then re-store the file to disk.
one you have removed the non-printable char's you will then have to pull the resultant file into a text editor and format it.

John C. Cook
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now