Hi,
Can anyone please help me out in this, this task is most important for me, Please accept my thanks in advance and help me resolving this issue.
Sandy
Please see the code below, i am trying to search for a particular string in a specific file using FINDSTR function, after that i have to execute a conditional task, mean if conditions is true than task will be executed other wise not.
PLEASE NOTE BELOW CODE IS NOT WORKING, IT IS NOT GETTING VALUE RETURNED BY FINDSTR.
===================================================================
set StatusValue = FINDSTR StatusValue "Import finished" c:\test2.txt
echo %StatusValue%
if not '%StatusValue%' == 'Import finished'(
echo Test successfull
goto END
) ELSE (
goto FileNotFound
goto END
)