123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|704|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> On Topic -> BAT Batty

Sat, 31 Mar 2018, 13:09
Jayenkai

BAT Batty


I'm *this* close to getting a new thing half-working, but the .bat file is driving me bonkers.

Expected Functionality
Copy all files, including those within subfolders, from temp\***, and dump them ALL (without folders) into temp2\***

Having searched the interwebs, I have this, which can be run in Command Prompt


Works a treat.
Next step, adding that to the .bat file, and that's where it breaks.
If you stick that exact line into test.bat, and then run the test.bat, you get..


And I can't quite figure out how to fix that.

.. Any takers?

-=-=-
''Load, Next List!''
Sat, 31 Mar 2018, 13:15
Jayenkai
Never mind.. Figured it out..
When inside a .bat file, both of the %f's should be %%f's

*sigh* Yet more stuff that nobody bothers to mention!

-=-=-
''Load, Next List!''