I am trying to run this shell command
Shell("C:\FORTRAN\TEST.EXE file1 file2 file3", 1)
file1 and 2 are input files to run the test.exe and the output is printed in file3.

file1,2 are selected from my commondialogbox1.filename
file1=commondialog1.filename
file2=commondialog1.filename
file3=text1.text (out put file)

at the shell command it is not able to read the file1 and file2 to run the exe file.

anyhelp is greatly appreciated
thanks
p1