You can always just define windows to associate it with upload and specify the commandline options as:
c:\empeg\upload.exe "%1" 10000 1
or whatever..

Could the problem have to do with spaces in the path/filename? I know if you don't put ""'s around the filename, windows/dos will split the filename over the different arguments..