Originally posted by parksie
Why is that necessary? All the functions in the Win32 API (except the really old ones) accept long file names, and passing them to a program is no problem if you put them in quotes.

Plus, NTFS doesn't have short names...
I didn't make the compiler, so I don't know.

I just know I had a hell of a time trying to get it to work on anything when I have spaces in the path. Quotes around it didnt' help at all.

C:\Borland\BCC55\Bin\bcc32.exe -nC:\Download\The Guitar Hobo\Programming\Cpp Stuff\Final Exam\gpa "C:\Download\The Guitar Hobo\Programming\Cpp Stuff\Final Exam\gpa\gpa.cpp"
Gave me crazy errors (see them above), and:

C:\Borland\BCC55\Bin\bcc32.exe -n"C:\Download\The Guitar Hobo\Programming\Cpp Stuff\Final Exam\gpa" "C:\Download\The Guitar Hobo\Programming\Cpp Stuff\Final Exam\gpa\gpa.cpp"
Says no file name given.

So in order to set the output file directory, it has to be short name.

I don't know why, but if you have an alternative solution, I'm all ears.