I created a file, named "t- e_s#$%^&!~t", and a text file, named "t- e_s#$%^&!~t.txt". My program and results could be found bellow. Maybe it was not the matter of SAS.
9 data test;
10 infile "E:\t- e_s#$%^&!~t\t- e_s#$%^&!~t.txt";
11 input name $;
12 run;
Alternatively, you may check the 8dot3 alias for the file and the directory using dir /x command in a cmd window or X command in SAS. An example in the cmd window follows. In my case it shoud work by using infile "I:\ABC-12~1\ABC-12~1.TXT".