Search found 2 matches

by twistedmind
25 Aug 2021 17:15
Forum: DOS Batch Forum
Topic: how to set variables inside for-cycle
Replies: 2
Views: 2816

Re: how to set variables inside for-cycle

Thank you Squashman, you're right! I had tried with some ! but not correctly... your code is right and now it works. :D
by twistedmind
25 Aug 2021 08:15
Forum: DOS Batch Forum
Topic: how to set variables inside for-cycle
Replies: 2
Views: 2816

how to set variables inside for-cycle

Hi everyone, I'm trying do a batch file to move automatically a set of photo files into the specific dir (to create) for the day of each photo. I wrote this code but the SET instructions inside the for have no effect, it works with the value set outside the for-cycle, but this is not what I want... ...