i have an application that requires manually edits to an .ini file in order to turn on debug level logging. I would like to have a script that can do the following steps, and another script to reverse the changes.
-stop specified services
-open .ini file
-change 3 entries in the .ini file
-save the file
-start the service back up.
Note: the three entries that need to be updated are
Debug=0 to Debug=2
wantLogs=false to wantLogs=true
wantTimings=false to wantTimings=true
WantVerbose=false to wantVerbose=true
This is pretty cool. The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
Learn the basics of while and for loops in Python.
while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows: while <condition>: do something repeate: The break statement m…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…