cw699413
cw699413

Reputation: 13

Batch file syntax incorrect

I am creating a batch file that moves documents from the c drive to a mapped network drive. Here is the output:

C:\Users\PPC IT Dept\Desktop>move C:\users\my documents\odms\message\foldera*.dss E:\Dest_Folder\

The syntax of the command is incorrect.

Upvotes: 0

Views: 29

Answers (1)

npocmaka
npocmaka

Reputation: 57252

try with:

move "C:\users\my documents\odms\message\foldera*.dss" "E:\Dest_Folder\"

If there's a space in your source path you'll need quotes.

Upvotes: 1

Related Questions