Dear R-sians!
The following command works fine on Dos Prompt, but not in a windows batch
script...

dir /S /B C:\Progra~1\R\R* |findstr /I "rcmd.exe" |findstr /I "2.8.1"


how do I implement the above in a windows batch script? I tried to use:
for /F "usebackq tokens=*" %%i in (`dir /S /B C:\Progra~1\R\R* |findstr /I
"rcmd.exe" |findstr /I "2.8.1"`) do @echo %%i

and it does not seem to work! Where am I doing wrong?


THANKS A TON in advance!

Regards,
Santosh

	[[alternative HTML version deleted]]


