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