Hi! This is a dos command that i use in my c program

C:\>net use \\wanda\ntlps lpt3:

where "wanda" is the server name and "ntpls" is the network printer.

This statement works fine but for a network printer which has some blanks in the name how do i write?

Ex: C:\>net use \\wanda\hp laserJet 6 lpt3:

(i tried also with C:\>net use "\\wanda\hp laserJet 6 lpt3:" but it dosn't work).

Thanks.

Chiara