I am trying to run a command line from a program that can not use long names or spaces.
The path to the file being called is "C:\Program Files\TEST\TEST SCANNER\scan.exe"
The "Program Files" easily converts to Progra~1 but because the third level only has 4 charachters and then a space, it will not work. I have tried TEST~1 and TESTSC~1 and it still errors.
Any ideas or suggestions?