I am having trouble running a dos command from my VB6 app. The command I want to run is:

Code:
rundll32 printui.dll,PrintUIEntry /if /f C:\x64\DKAAT940.inf /b "PrinterA" /r \\SERVER\pphplj2100 /m "Dell Laser Printer 5210n PS"
But no matter what I try, I can not get it to shell properly from VB. If i open a cmd window and paste it in, works fine. Start->Run works fine.

Ive tried:
Shell(rundll32 printu...blah)
Shell(cmd /c rundll32 printu...blah)
Shell(start rundll32 printu...blah)
Shell(cmd /c start rundll32 printu...blah)
Shell(start cmd /c rundll32 printu...blah)

Any Ideas? printui.dll,PrintUIEntry IS invoked, but its failing somewhere. I have been stuck on this for a few days now, and I am fustrated. I have simplified this as much as i could in the VB program, just to try to get this to work. shell(textbox1.text) but no dice. I also noticed that if, in the command window I try to run "cmd /c rundll32 printu...blah" It will fail. I had thought that perhaps I need to try using escape characters, but so far, I haven't been able to figure it out. Any help would be much appreciated.