Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Processing Question
#5
Macro Macro16
Code:
Copy      Help
;Supposed you have all the records contains in a text file called "records.txt"
;and it is on the desktop. You could change the location later.
;The directory on D drive is "Test", you could change it later, too.
;Then run this macro.
out
ARRAY(str) a
str folders.getfile("$desktop$\records.txt")
folders.findreplace(" " "" 8)
a=folders
str where="D:\Test" ;;change this
for int'i 0 a.len
,a[i].ReplaceInvalidFilenameCharacters("")
,;out a[i]
,mkdir a[i] where
,
out "All Done!"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)