how to add spaces for dir name in cmd code example Example: add space in cmd path C:\"Program Files"\"ab cd"\xyz.exe -->Use double quotes for that