Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Space in the printer name
Message
De
27/10/1999 08:31:36
 
 
À
27/10/1999 08:12:08
Information générale
Forum:
Windows
Catégorie:
Impression
Divers
Thread ID:
00281644
Message ID:
00282153
Vues:
23
>>>Our NET USE command does not work because we have a space in the printer name.
>>>
>>>What is the appropriate syntax to use to have this working:
>>>
>>>NET USE \\PROLIANT\HP DeskJet 895C Series Printer
>>
>>Try NET USE LPT1 "\\PROLIANT\HP DeskJet 895C Series Printer"
>
>I tried that from DOS and it does not work.

My mistake - it works from a DOS command prompt inside of WinNT, but not from DOS - DOS has no native capability to deal with LFNs. Either using the short name, or renaming the printer would appear to be the only option.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform