We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

How to read .IN file as text

RUSTY
RUSTY asked
on
Medium Priority
281 Views
Last Modified: 2010-04-26
I have some files with the suffix .IN    If I can, I need to turn them into text files.  How?
Comment
Watch Question

CERTIFIED EXPERT

Commented:
What are the files? What format? Is it .IN or is it .INI???
WDB

Commented:
Right click the file and then drag it into an open notepad session. It will be placed there as text.

Commented:
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 )

Author

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.

Author

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.
WDB

Commented:
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.

Author

Commented:
Unfortunately, the .IN files live on our server.  Can I access the server in DOS somehow?
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
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
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.