Print Story How does one deal with blank spaces in folder names in Windows?
Software
By nlscb (Fri Apr 04, 2008 at 11:28:41 AM EST) blank spaces, windows xp, dos, special characters (all tags)
Yes, I should be using UNIX/LINUX, whatever.  Unfortunately, my employer uses windows XP.  I am trying to create a batch file that will use xcopy to copy selected folders and their contents to another directory.


Unfortunately, the folder paths have blank spaces such as:


c:\folder 1\folder 2\beer


Batch files break down in this case.  Is there a special character that I can use?  I have been googling groups this all morning and getting nowhere.


Any help would be very appreciated.

Full discussion: http://www.hulver.com/scoop/story/2008/4/4/112841/8750