persistent drive mapping

Posted on 2007-08-11
Last Modified: 2012-05-05
Aissim, sorry but I should have checked it before I said it was OK
my username is administrator
my password is 123
my servername is server
my shared drive is named "public"
i tried
net use z: \\server\public 123 user:server\administrator /persistent
i get a syntax error

I also tried adding :yes after persistent to no avail

can you help?
Question by:rmumm2
    LVL 31

    Accepted Solution


    Try this

    net use z: \\server\public 123 /user:server\administrator /persistent:yes


    Expert Comment

    \\server\public 123 may need quotes! "\\server\public 123" because there is a space in the string sir.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
    This article was inspired by a question here at Experts Exchange ( The requirements stated in that question are (1) reduce the file size of a large number of…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now