assume .\temp\ already exists.
c:> set %fn=Screenshot_20181028-191416_Hangouts (2).jpg
c:> for %fn in (*) move /n /r "%fn" "temp\%@replace[:,_,%@replace[-,_,%@filedate[`%fn`,c,4]_%@filetime[`%fn`,c,s]]].%@ext[`%fn`]"
how would I get this to work - since @file functions require quoting in case the %fn has spaces?
c:> set %fn=Screenshot_20181028-191416_Hangouts (2).jpg
c:> for %fn in (*) move /n /r "%fn" "temp\%@replace[:,_,%@replace[-,_,%@filedate[`%fn`,c,4]_%@filetime[`%fn`,c,s]]].%@ext[`%fn`]"
how would I get this to work - since @file functions require quoting in case the %fn has spaces?