Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ren- turns file into a folder
#6
What version of Quick Macros are you using?
I think you may be using an older version of QM
d.FullPath has been in qm  since version 2.4.0

try this
Code:
Copy      Help
Dir d
foreach(d "G:\last backup*.txt" FE_Dir)
,str path=d.FileName(1)
,if(path.len)
,,str s.timeformat("{D} {hhmmss}")
,,s.ReplaceInvalidFilenameCharacters("-")
,,str n.from("G:\last backup" s ".txt")
,,ren- path n


Messages In This Thread
ren- turns file into a folder - by Davidovsky - 03-11-2021, 05:19 AM
RE: ren- turns file into a folder - by Kevin - 03-11-2021, 02:03 PM
RE: ren- turns file into a folder - by Davidovsky - 03-12-2021, 04:07 AM
RE: ren- turns file into a folder - by Kevin - 03-12-2021, 04:43 AM
RE: ren- turns file into a folder - by Davidovsky - 03-12-2021, 09:55 AM
RE: ren- turns file into a folder - by Kevin - 03-12-2021, 01:43 PM
RE: ren- turns file into a folder - by Davidovsky - 03-13-2021, 04:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)