Batch file to edit an .ini Line
I have a program for which a setting in the .ini file seems to constantly revert.
I find myself constantly checking the file to see if it needs to be edited, so I would like to see if I can come up with a batch file that will do this job.
The idea is to
create this batch file to scan the .ini file every 2 minutes (run on a schedule?) to check the value of a particular line and change the value if necessary.
The line is:
UpdateSpeedCheck=8
8 is the desired number for the check, but it sometimes reverts to 100.
The name of the file is prolasso.ini and the path is C:\Documents and Settings\Administrator\Application Data\ProcessLasso\config\prolasso.ini.
More on the .ini file.
There are no empty lines.
However, there are some lines that are set "=" to no value like "Power=".
There are maybe half a dozen section delineators in the file like "[Debug]" or "[AdvancedRules]".
These are not set equal to a value.
It's a static length lines wise and about 100 lines long.
Other than the section delineators, all the lines use an "=" sign followed by a value.
These are preceded by the setting name as in "UpdateSpeedCheck".
Thankyou to anyone who can help...
Keys to the Problem Batch file to edit an .ini Line
Download SmartPCFixer to Fix It (Free)
Tweak IE Options- Open Internet Explorer.
- Go to "Tools > Internet Options > Advanced Tab".
- Uncheck "Enable third-party browser extensions".
- Click "Apply".
- Reboot your computer.
Recommended Method to Repair the Problem: Batch file to edit an .ini Line:
How to Fix Batch file to edit an .ini Line with SmartPCFixer?
1. You can Download SmartPCFixer here. Install it on your computer. When you open SmartPCFixer, it will perform a scan.
2. After the scan is done, you can see the errors and problems need to be fixed. Click Fix All.
3. The Fixing part is finished, the speed of your computer will be much higher than before and the errors have been removed.
Related: Autologon and AutoLogonCount Parameters for Windows Unattended Setup Error Fixer,How To Resolve Cyberbit Unicode Font Does Not Return Correct Charset Problem,How To Use the Office Profile Wizard to Create an OPS File in Office XP Error Fixer,Error Sys Msg 22 Invalid period, please reenter. in MC in 4.x Solution,Why am I Getting a Upgrades from 3.01 to 3.60 or 3.01 to 3.70 Involving Serial Numbers and Revaluations Are Overstating the Valuation Entries on the Purchases Error?,How Can I Fix - Error 16389?,How to Fix - Internetopen?,Mcafee Virus Scan Online,How Can I Fix - Qos Packet Scheduler Failed?,Solution to Problem: Windows 2000 Boot Repair,How to Fix ashoutxt.dll Not Found Error,Best Method to Fix cxcore096.dll Error,Where can I Find dsauth.dll File,msde.dll Corrupted - How to Resolve,psizewizres.dll Corrupted - How to Fix,How to Download ASUS XGI Compatible Super VGA Driver Package Version R1.13.00/Driver Version 6.14.10.1130 for Windows XP 32/64 bit(WHQL),Windows Server 2003 32/64 bit(WHQL),Windows Vista 32/64 bit(WHQL),Windows Server 2008 32/64 bit(WHQL),Windows 7 32/64 bit(WHQL),Window,Download NeoMagic® MagicMedia 256AVP Display Adapter Driver,Download NVIDIA RIVA TNT2 Model 64,How to Update Realtek ALC850 AC'97 Driver V5.10.0.5900 WHQL for Windows 2000/XP/2003 & 64bit XP/2003.,How to Update Realtek LAN V6.203.0214.2008,Microsoft.PowerShell.GraphicalHost.dll Error Code Fixer
,Fix Error Code Netapi32 (4).dll
,Qa_auth_client.dll Error Code Fixer
,Fix Error Code Tdc (3).ocx
,Vwipxspx.dll Error Code Fixer
,Way to Download Toshiba Qosmio X505-Q832 Intel Wireless LAN Driver v.12.4.1.11.0.s64_wCAT,Download Toshiba Satellite C650D-ST6N02 Assist Utility v.4.2.3.0 driver,How Can You Update & Download Toshiba Satellite L645-S4026RD Value Added Package v.1.6.0130.640202 driver,Method to Download Toshiba Satellite L755-S9511D Assist Utility v.4.2.3.1 driver,Method to Download Toshiba Satellite P875-S7200 Fingerprint Utility v.2.0.0001.000408 driver,Best Way to Download NVidia GeForce 6100 VGA Driver v.304.51 Certified,How Can You Update & Download NVidia GeForce 9300/nForce 730i VGA Driver v.310.19 Certified,Method to Download NVidia GeForce GT 330M Driver v.340.65,How Can I Update & Download NVidia GeForce GTX 590 Driver v.280.26 WHQL,Method to Download NVidia Tesla C2050 Driver v.319.17
Read More: [Solution] Belkin Router App Not Working?,Troubleshooting:Bing search icon not popping up when I highlight text in IE11,How to Fix Problem - Big problem with files and settings transfer wizard.?,Troubleshooting:BCCode: 50 blue screen error for Windows 7. Error,Tech Support: basic authentication without secure connection required\/browser doesn't understand how to supply credentials
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.