• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • 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
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

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