>If quote encapsulation isn't working as I suggested, the shared printer name resolves the same way as an LFN; you can use the API call GetShortPathName once to find the valid short name and use it. Quote encapsulation works for me, though.
Can you give me the following with the appropriate syntax:
NET USE LPT1 \\MY LONG COMPUTER NAME\MYPRINTERNAME