I'm pretty sure that I have this file except it doesn't have an extension. This code returns an error: $Dummies = @ScriptDir & "\Dummies"
$sFind = "109.99.99.99"
$sReplace = "No Longer Use"
if FileExists($Dummies) Then
_ReplaceStringInFile($Dummies,$sFind ,$sReplace)
Else
MsgBox(0, "Error", "Make sure Dummies file exist before you proceed to compile this project.")
Return
EndIf
If it has an extension then it's ok, but if it doesn't have an extension then it returns an error msgbox that I created. Any help is appreciated. EDIT: I figured... I didn't show the extension. So it was Dummies.txt all along.