fixed bug for XP with shares command