Re: Creating a batch file

From: Felix Maxa [MSFT] (amaxa_at_online.microsoft.com)
Date: 04/09/04


Date: Fri, 9 Apr 2004 16:56:57 -0700

Are you trying to add the connection for every user who logs on to the W2k
computer?
Are you looking for a command that will do this?
Am I understanding this correctly?

-- 
Felix Maxa
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
"Shaz" <anonymous@discussions.microsoft.com> wrote in message 
news:16f7801c417b4$17da4870$a101280a@phx.gbl...
> 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. 


Relevant Pages

  • Re: Query for blank passwords in Active Directory
    ... Depending on your Domain Controllers configuration, it may be extremely easy to enumerate users, even without having credentials for accessing the AD domain. ... If rpcclient's "enumusers" command doesn't work, it may still be possible to get the users list scanning for SIDs. ... If you're stuck on Windows as testing plaform, you should also take a look at enum.exe. ... username as well as username = password). ...
    (Pen-Test)
  • Re: How To Execute Batch File Line By Line
    ... COMMAND /C string Carries out the command specified by string, ... CMD /C Carries out the command specified by string and then terminates. ... Both .cmd and .bat files work on Windows NT versions. ... File Description MS-DOS Batch File ...
    (microsoft.public.windowsxp.general)
  • Re: Great SWT Program
    ... Windows' default command line buffer is explained in detail here: ... For the purposes of a batch file, ... then put the files from the working directory back. ...
    (comp.lang.java.programmer)
  • Re: Subst question
    ... > In a batch file, the @ symbol at the beginning of a line will hide the ... which you can see at a command prompt when you type ... > also limit it to one easily if you type in: echo %OS% ... is this say if the OS is NOT Windows NTgo to logoff or IS Windows ...
    (microsoft.public.scripting.vbscript)
  • Re: Environment Variables...
    ... Open a command prompt, type set /? ... MS-MVP Windows Shell/User ... > So, from a command prompt, within a batch file, how could I accomplish ...
    (microsoft.public.windowsxp.general)