
help switching file names or getting list of files in a dir
Hello All,
What I am trying to do is to make a program which will randomly switch
file names for all the files inside a directory. In other words flies
will be renamed to names of other files in the directory, the end
result being that the user will not know which file is really which.
Can anyone tell me how to get a list of the file names in a directory
and maybe give me some hints on how to perform the name swapping?
Any help would be greatly appreciated.