when i do the following command (in a BTAT file)
for /d %%i in (PWD) do set IA_PATH_SOURCE_DIR=%%~fi
i get the full path of the current directory.
for example let us say the fullpath is C:\workspace\projctes\fitN
esseRoot\F
rontPage\T
estSuite\T
estCase1
We need to check whether .FrontPage. appears in the path. If it does NOT appear we need to echo an error message and exit. ( note the dot on both sides of FrontPage)
If it apprears then we need to set two variables:
set testpath=FrontPage\TestSui
te
set testcase=TestCase1
what is the best approach?
Start Free Trial