I want to store contents of command
dir in array of variables
For eg: dir contents are
command d2 demovi~ file inven java new untitled folder
d1 demovi er1 filename inven~ myfiles ubuntu desktop xmms
-----------------------------------
I should be able to get command, d2, demovi~,.............. in var1, var2, var3,....
eg. echo $var4
should give output : file