in reply to How to pass Windows filepaths on command line
usually i run the programs like perl test.pl "test.txt" if in same folder or full path if not ..