I need to map a drive in dos that has a space in the name

Posted on 2011-04-21
Last Modified: 2012-05-11
OK here is what I have..
1 file server.. on that file server I have the following a share that has a space in the name..
so the folder is called test scanns
so with that said I need to place the file in the login script. How do I do it.
Question by:explorer648
    LVL 95

    Accepted Solution

    Put it in quotes:

    net use x: "\\server\test scanns"

    Author Closing Comment

    I was putting the last part of the file name in the quotes. not the whole thing. great thanks for the help

    Featured Post

    Free Trending Threat Insights Every Day

    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.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    KMS Host 3 18
    MDT 2013 Update 2 Error on 2008 R2 server. 4 31
    IIs block files web.config 6 52
    deny local logon 12 37
    If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

    755 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

    21 Experts available now in Live!

    Get 1:1 Help Now