Batch File to connect to a pc

  • Thread starter Thread starter Shaz
  • Start date Start date
S

Shaz

Please help me....I have created a batch file for a
windows 2000 computer, to connect to a printer that is on
a windows XP machine.

What is the format in which the command should be?? I
have to change the username in the batch file, but not
sure where it was the username or password, as they were
both the same.

Thanks for your help.
 
Shaz said:
Please help me....I have created a batch file for a
windows 2000 computer, to connect to a printer that is on
a windows XP machine.

What is the format in which the command should be?? I
have to change the username in the batch file, but not
sure where it was the username or password, as they were
both the same.

Thanks for your help.

You could try this:

net use lpt2: \\SomePC\SomeSharedPrinter /user:SomePC\Shaz SomePassword
 
Yeah spot on...that is exactly what I was looking
for...thank you so much!

-----Original Message-----



You could try this:

net use lpt2:
\\SomePC\SomeSharedPrinter /user:SomePC\Shaz SomePassword
 
I have set up this batch file....but how do you run it
in "slow motion", as something comes up after my command,
but disappears to quickly to read!

Thanks
-----Original Message-----



You could try this:

net use lpt2:
\\SomePC\SomeSharedPrinter /user:SomePC\Shaz SomePassword
 
Back
Top