- I need to copy Images into a folder
- I use a list because my Images are in multiple locations
+ I have a list with all filepaths/filenames called imagelist.txt and an output folder
This dos command works in command Prompt, but I get a syntax error in power automate desktop:
So this works in command line :
FOR /F "USEBACKQ TOKENS=*" %F IN ("C:\.....Input\imagelist.txt") DO XCOPY /F /Y "%~F" "C:\...\Output\"
But I get a syntaxerror with the same command in PowerAutomate desktop.
I think I get the error because of the red parts.
PowerAutomate thinks I want to declare a Varaible or something.
FOR /F "USEBACKQ TOKENS=*" %F IN ("C:\.....Input\imagelist.txt") DO XCOPY /F /Y "%~F" "C:\...\Output\"
Is there a work around?
THANK YOU M8s