Going from 13.x to 16.x, have a BTM that's giving me unexpected prompts when run. For now I've reinstalled 13.x side by side to see if it's definitely related to 16.x.
:sub0
echo Moving files in %_cwd...
for %x in (*.jpg) gosub sub1
return
:sub1
if not exist "f:\Archive - NS\%@word["\",2-3,%_cwd]\%@year[%@filedate[%x]]\%@month[%@filedate[%x]]" md /s "f:\Archive - NS\%@word["\",2-3,%_cwd]\%@year[%@filedate[%x]]\%@month[%@filedate[%x]]"
move %x "f:\Archive - NS\%@word["\",2-3,%_cwd]\%@year[%@filedate[%x]]\%@month[%@filedate[%x]]"
return
When executed, I get several of these...
Cancel batch job C:\bin\movesnaps-NS.btm ? (Y/N/A) : N
I answer N, the job continues. In a few seconds I'll get it again. This is running at 3am when no one is at they keyboard.
The prompts occur at the same point each time.
Any ideas?
:sub0
echo Moving files in %_cwd...
for %x in (*.jpg) gosub sub1
return
:sub1
if not exist "f:\Archive - NS\%@word["\",2-3,%_cwd]\%@year[%@filedate[%x]]\%@month[%@filedate[%x]]" md /s "f:\Archive - NS\%@word["\",2-3,%_cwd]\%@year[%@filedate[%x]]\%@month[%@filedate[%x]]"
move %x "f:\Archive - NS\%@word["\",2-3,%_cwd]\%@year[%@filedate[%x]]\%@month[%@filedate[%x]]"
return
When executed, I get several of these...
Cancel batch job C:\bin\movesnaps-NS.btm ? (Y/N/A) : N
I answer N, the job continues. In a few seconds I'll get it again. This is running at 3am when no one is at they keyboard.
The prompts occur at the same point each time.
Any ideas?
Last edited: