|I need to keep some part of a file and deal with those items whom I pull from this file. I call a vbs script file from a batch to process those items I want to transform. My goal is to have all of them (items which are transformed by the vbs process and those which are not concerned by this process) into the same file.|
cscript run.vbs findstr /r "^I.=" "%~f1"
Every time that I run batch, it occurs an execution error in my vbs script at the line x=objF.opentextfile(wscript.arguments(0),1).readall. I understand this error because the parameter given at run.vbs from batch is not a file.
I am searching a trick to implement my need. please could you suggest me anything? Thank you in advance