[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Not entirely OT: quotation marks with cmd commands



I ALWAYS keep my computer and printer names down to 8 letters, for
ease of referencing from the DOS prompt. But I'm helping someone with
a networked PC and printer with long, full of spaces, UNC names. How
do you set them off in typed command or a bat file? I could have sworn
Harry said something about that not too long ago, but cannot find it.

For example, if I need to say
net use lpt1 \\Too Long PC Name\Too Long Printer Share
Where do I put the quotes? Around everything after "use"? Or just before the first \\ and at the end?
--
Patricia M. Godfrey
PriscaMG@xxxxxxxx