Fix to issue with missing file paths

Add /S switch to dir command