PPRuNe Forums - View Single Post - Windows7 Batch Files - stumped!
View Single Post
Old 18th Apr 2014, 13:54
  #4 (permalink)  
Bushfiva
Hippopotomonstrosesquipidelian title
 
Join Date: Oct 2006
Location: is everything
Posts: 1,826
Likes: 0
Received 0 Likes on 0 Posts
Directories with spaces in them need quoting otherwise the unexpected can happen. Consider the syntax using "copy" instead of "dir" for your examples, where both \outlook and \outlook files exist:

Code:
copy C:\Documents\Outlook Files
Bushfiva is offline