0

我正在创建一个多租户客户端移动(Cordova)应用程序。我想在部署时将适当的客户端文件从文件夹复制到项目中。

我正在使用 WebStorm IDE 进行开发。项目有一个名为branding 的文件夹,其中包含文件夹中的多个客户特定文件。使用 WebStorm,我使用外部工具创建了一个新配置。

为了在部署时复制文件,我使用了命令xcopy $FileParentDir$branding\abc\*.* $FileParentDir$www\branding /S /Y

它说cannot run program... CreateProcess error=2, The system cannot find the file specified

在此处输入图像描述

4

1 回答 1

1

请使用 ' Parameters' 字段指定 xcopy 选项 - 将 ' xcopy' 保留为 ' Program' 并将 ' ' 移动$FileParentDir$\branding\abc\*.* $FileParentDir$\www\branding /S /Y到 ' Parameters' 字段

于 2015-03-24T11:36:03.160 回答