I have this line to run from a VB6 app but I need it to include two sets of quotes so it actually runs:

su shutdown < shutdown.txt "logout.exe /f /o /s lsc.dat" highside_dom

How can I stop it getting confused with the quotes in the retval statement? (I hope that makes sense!)

Simon

RetVal = Shell("su shutdown < shutdown.txt "logout.exe /f /o /s lsc.dat" highside_dom", vbMaximizedFocus)