Moving files in the command prompt (c:\Documents and Settings\My Documents\.....

Posted on 2007-10-05
Last Modified: 2010-07-27
Moving this file fails with:

E:\>move C:\Documents and Settings\secmonit\My Documents\topsecdb\TOPSEC* C:\Doc
uments and Settings\secmonit\My Documents\topsecdb\SEC_DATA\
The syntax of the command is incorrect.


Question by:LindaC
    LVL 22

    Accepted Solution

    Enclose the path in quotes,

    E:\>move "C:\Documents and Settings\secmonit\My Documents\topsecdb\TOPSEC*" "C:\Doc
    uments and Settings\secmonit\My Documents\topsecdb\SEC_DATA\"

    Hope this helps!


    LVL 6

    Assisted Solution

    Put quotation marks around the full file path, e.g. "C:\Documents and Settings\..." etc. for both of the files.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
    You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    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

    11 Experts available now in Live!

    Get 1:1 Help Now