diff --git a/template/CCApplicationWizard.vs/CCAppWiz.win32/Scripts/1033/default.js b/template/CCApplicationWizard.vs/CCAppWiz.win32/Scripts/1033/default.js index a96b7fa1d0..3027ee9fd7 100644 --- a/template/CCApplicationWizard.vs/CCAppWiz.win32/Scripts/1033/default.js +++ b/template/CCApplicationWizard.vs/CCAppWiz.win32/Scripts/1033/default.js @@ -276,7 +276,7 @@ function AddConfigurations(proj, strProjectName) { // Post-build settings var PostBuildTool = config.Tools("VCPostBuildEventTool"); PostBuildTool.Description = "Performing copy resource from Resource to OutDir..."; - PostBuildTool.CommandLine = "copy /Y \"$(ProjectDir)Resource\\*.*\" \"$(OutDir)\""; + PostBuildTool.CommandLine = "xcopy /E /Q /Y \"$(ProjectDir)Resource\\*.*\" \"$(OutDir)\""; } } catch (e) {