PPRuNe Forums - View Single Post - Windows7 Batch Files - stumped!
View Single Post
Old 18th April 2014 | 13:54
  #4 (permalink)  
Bushfiva
Hippopotomonstrosesquipidelian title
 
Joined: Oct 2006
Posts: 1,825
Likes: 1
From: is everything
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  
Reply