|
Paul,
Without going to a different editor, you are probably stuck.
One other work around if you use an Office package: You can open it
with Microsoft Word (or Open Office Writer if you are a "progressive"
technologist). Word will prompt you to open it in read only mode but
the formatting is a little bit better than notepad. OO Writer just
opens it. You could create a shortcut in the "Send To" folder of the
folks who need to open the log files to simplify the process so they
just right click the file and "send to" Writer for example.
Pete
Paul Holm wrote:
> Pete,
>
> Yes, I am mapping a drive. I can open the file with NotePad but lines
> of log data wrap and it becomes nearly unreadable. When opening the log
> with wordPad I get the locked file exception. I can copy the locked
> file and open the copy with WORDPAD but that is not convenient. It
> seems that the iSeries JDK file.io/IFS code behaves differently in terms
> of locking than the Windows/sun JDK equivalent. It simply makes it a
> pain to view log files. Perhaps there is a viewer that can both format
> nicely and not lock. However, this makes it a pain for end
> user/customers to get some special viewer.
>
> As Walden indicated, notePad must open readOnly while WordPad opens for
> write.
>
> Thanks, Paul
>
>
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.