Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- str path="d:\test" ;; WHAT DIRECTORY TO PROCESS
- ;; Declare your ICSV object
- ICsv list_csv
- list_csv=CreateCsv()
- list_csv.Separator=";" ;; Because we are loading a .csv file, we MUST indicate what the seperator is
- The directory to be processed is processed in the following way:
- - Only files
- - Only in this folder and subfolders
- If you want to set it up differently, then use the above toolbar (top right)
- Click on yellow folder icon with magnifying icon on it (Files, web) and select 'Enumerate files'
- Dir d
- foreach(d F"{path}\*.csv" FE_Dir 4)
- str path=d.FullPath
- str name=d.FileName
- list_csv.FromFile(path)
- ... FROM HERE LOOK AT PREVIOUS EXAMPLE!
Advertisement
Add Comment
Please, Sign In to add comment