Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch Error  (Read 3157 times)

0 Members and 1 Guest are viewing this topic.

davidsavon

    Topic Starter


    Newbie

    • Experience: Experienced
    • OS: Windows 7
    Batch Error
    « on: January 29, 2014, 07:13:29 AM »
    I created the following batch file to back up my Outlook file:
    This is the syntax I used in both attempts:

    Copy C:\Users\Owner\AppData\Local\Microsoft\Outlook\Outlook.ost C:\Users\Owner\Dropbox\David Outlook and Temp
    pause

    Copy C:\Owner\AppData\Local\Microsoft\Outlook\Outlook.ost C:\Owner\Dropbox\David Outlook and Temp
    pause

    I receive the following error with either:
    "The system cannot find the path specified."

    Can anyone help?

    Thanks, in advance!

    David

    Salmon Trout

    • Guest
    Re: Batch Error
    « Reply #1 on: January 29, 2014, 08:11:38 AM »
    Any path and file name that contains spaces needs to have quote marks

    Like this

    Copy "C:\Users\Owner\AppData\Local\Microsoft\Outlook\Outlook.ost" "C:\Users\Owner\Dropbox\David Outlook and Temp"

    so try that.