I have a CMD Command and it only works after the third time of execution. I want to open a command which gives me a path after that I want to convert the path and in the end I want to show the input of the file.
Here is my command:
@echo off & for /f %A in ('getFilePath') do set string="C:%A" & set newstring=%string:/=\% & type %newstring% & @echo on