MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically.
bapu1981 posted a topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)Hi, I need batch script to edit file and restart the service in windows. For example: monitor oid memInUseCapacity.0 601 0x00300300 300 absolute > 95 '#3-Low Memory' '' in this i want to add [MID_XXXXX]. To replace : monitor oid memInUseCapacity.0 601 0x00300300 300 absolute > 95 '#3-Low Memory. [MID_XXXXX]' '' after that i want to restart one service. Regards Bapu