Here is what I want to do: (an attempt at a good explanation

1. The user previously types "substart" which allows for the "substitute" command to be run.
2. The user opens cmd and types: substitute + "(string they want to find)" + "(string they want to replace the found string with)" "(file path of the file that contains the string to substitute)". In short, substitute "string1" "string2" "filepath"
3. The command needs to change directory to the given file path, then locate the string in the text/batch file and "comment out"/REM the line.
4. The command then types the "string2"/user defined string into the selected text/batch file on the line after the "string1".
5. The line remains REMed until the user types "subend", which will return the line to it's previous state.
Hopefully there is a solution to my problem.
Regards,
Rileyh