I tried and as is the code does not work.
I had to go to execute the code from the program files folder, and then change the $FILE with the real location and name of the file. This worked.
EDIT:
I also tried this:
"c:\Program Files (x86)\PDF24\pdf24-docTool.exe" -shellPrint -printerName "RICOH Aficio MP C3001" "Real file name & location"
And also worked.
But this code:
"c:\Program Files (x86)\PDF24\pdf24-docTool.exe" -shellPrint -printerName "RICOH Aficio MP C3001" "$FILE" didn't work.