I was hoping to point him towards solving it himself, but ok.

Using Chr(34) might be easier for him. I too sometimes get confused when the quotes pile up like that.

Code:
Shell Chr(34) & Environ$("UserProfile") & "\myinfo.bat" & Chr(34) & " " & Chr(34) & Environ$("UserProfile") & "\outfile.txt" & Chr(34),vbHide