|I am trying to run a simple bat directly from the command prompt. bat file takes as parameter a file that does not belong to my current directory. Please look at the error I have got each time and I don't understand why since echoing "%~f1" returns "D:\WorkpaceDEV\opt\ABC\IJS_002.TXT" successfully and my text file is absolutely present into the folder D:\WorkpaceDEV\opt\ABC".|
That would seem odd to me!
La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte.
Here's is the bat
@ echo off
findstr /r "I.*=" "%~f1" >outer.TXT
Thank you very much to open my eyes on this issue