New
#51
Are you able to download from the link below instead?
https://www.tenforums.com/attachment...prehensive.zip
Are you able to download from the link below instead?
https://www.tenforums.com/attachment...prehensive.zip
Hello @Anak,
MyBatch Scripts / Programs
[ See Signature ] has an index, butPROJECT: Computer Report - Comprehensive
is a different scenario all together.
Yes, it would be a lot of added work which I amNOT
prepared to do at present.
Yes, that way, it will take you to all the different sections [ Output ] where the searched word is located. That would be useful because there could be additional information on a specific item elsewhere in the report that isNOT
extracted from the specific main section command[s].
I hope this helps.
I am logged into TenForums but get the attached when I click on the link to complete the download:-
Message
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
You are not logged in. Fill in the form at the bottom of this page and try again.
You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
The administrator may have required you to register before you can view this page.
Join Now
Log in
User Name:
Password:
Remember Me?
- - - Updated - - -
The problem was occurring using Vivaldi browser, download worked under Firefox.
Thanks for your help.
Hello Anak,
The objective of the program, which it achieves, is to extract and output the data in a report format to theConsole
, and then, if need be,Copy
it to aText Editor
such asNotepad
orNotepad++
[ BOTH searchable ] for example, BOTH which gives the correct formatting and output structure as shown in theConsole
.
Using something likeMS Office Word
orOpen Office Writer
will initially distort the output because of the way that thePage Settings
are set forColumn Width
etc. This also has an affect on the colour transfer.
@das10 has come up with a possible workaround for this in his Post 61.
Excellent news.
I hope this helps.
EDIT:- I have added an entry in theOverview
section of Post 1 for this.
Last edited by Paul Black; 26 Jan 2023 at 12:15.
Thank you for your insight Paul!
Paul; this is just by way of gen. information only & not at all within the remit of the script file :
To get the formatting for viewing purpose "only", in Word, you would first need to set a custom page size which is wide enough to accomodate the width of the lines in the Console output (just under 180 columns). A Custom Page size of eg. 42cm x 54cm appears to work if you 'ignore' the Print margin error dialog. Then save the document as a .docx file.
Also, one of the few ways to copy colored text from a Console to a .Docx is via the Windows Terminal app., although it first requires customizing the Terminal app (and the bat file before running it in an Admin Terminal Command Window ie. so it does not start a separate Command Console).
eg: .docx using Word 2007 in Win 11.
![]()