So I just got back into programming so everything is a bit rusty or just forgotten, never was a pro. I am making a program where the user needs to select what filetypes they want to sort. I'm doing this through checkboxes.
Now im wondering what the best way would be to store these values and give them to the next step in the progress, which will be something along the lines of: ..\image.jpg >> check file extension >> check list >> move to image folder ..\danksong.mp3 >> check file extension >> check list >> move to music folder
and it runs through all files in a folder to sort them out. So basicly I would like to know what the best way of storing the selections would be and then go through the list of selected extensions and filter the items.
Aucun commentaire:
Enregistrer un commentaire