Added Validation error dialog for Windows and moved Path logic to own function
Added Validation error dialog for Windows and moved Path logic to own function