Fixed path issue and ARGV tweak

0.upto caused an issue with a blank directory name.
Changed to 1.upto to fix.

Can now specify arguments with or without = symbol.

E.g. --folder"test" and --folder="test" both work.