Formatting ASCII to be read by Windows NotePad



I have a nice PERL script I use to generate CISCO configurations, but
when I FTP the files to my Windows XP PC and try to read them in
Notepad, there is clearly no line wrap that Notepad understands. If I
otherwise read the file into WordPad first, save the file, then open
into Notepad, the formatting presents correctly.

I have generated the ASCII files using a simple 'print' command to a
file I generate using an 'open' command. I have tried both the newline
\n and the carriage return \r format characters.

Before I begin experiment with other characters, does anyone have a
solution for me gained from similar experience?

Thanks!
.



Relevant Pages

  • RE: How to close multiple notepads without answering yes/no/cancel mul
    ... there is no "No To All" button in Windows XP. ... You are talking about closing the Whole Group that means you are using the ... application" and I found a command that will kill a running process and it ... Open some Notepad windows with unsaved files. ...
    (microsoft.public.windowsxp.basics)
  • Re: Text Notes directly into windows folder
    ... > I've used the program referenced below ever since Windows '95. ... > click the file that you want notes on and Notepad pops up with a .txt file ... This command lets you easily edit or create a text file ... > Mike W. ...
    (microsoft.public.windowsxp.general)
  • Re: registry editor
    ... If i run regedit from run command on start menu, the registry editor will ... MSConfig also still opened with notepad. ... Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: What results at the cmd line of cmd "set" & "ver" under Win2003 ?
    ... >I need to know what is displayed on the command line by the commands "set" ... >- type: notepad set.txt ... >- return to the DOS Box ... >- close all windows. ...
    (microsoft.public.windows.server.general)
  • Re: Text Notes directly into windows folder
    ... I've used the program referenced below ever since Windows '95. ... click the file that you want notes on and Notepad pops up with a .txt file ... This command lets you easily edit or create a text file that ...
    (microsoft.public.windowsxp.general)