• Help With Net Use Syntax? (XP SP-2)

    Author
    Topic
    #439457

    The following works OK:
    net use /yes H: tocfpdc2usersNBS
    net use /yes N: Tocfpdc2NBS

    When I run this to delete the connection:
    net use H: tocfpdc2usersNBS /delete
    net use N: Tocfpdc2NBS /delete

    I get error message 3510 – A command was used with conflicting switches

    What am I doing wrong

    Thanks, John

    Viewing 0 reply threads
    Author
    Replies
    • #1050193

      Try

      net use H: /delete

      • #1050199

        That was simple enought!

        Thanks, John

        PS: So much for Win XP Help

        Examples

        To disconnect from the FinancialPublic directory, type:

        net use f: financialpublic /delete

        • #1050203

          I noticed the error too. Apparently the Microsofties don’t read their own help files…

          • #1050232

            Probably just a case of cutting and pasting the original command, and forgetting to remove the offending field.

            Don’t forget that one of the “design features” of NET USE is that it doesn’t give any accurate errorlevels, so you have to examine any message issued as a result of the command…

            John

    Viewing 0 reply threads
    Reply To: Help With Net Use Syntax? (XP SP-2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: