81 строка
4.5 KiB
Batchfile
81 строка
4.5 KiB
Batchfile
xcopy /q /y "wwwroot\css\roboto.css" "Word\wwwroot\css\"
|
|
xcopy /q /y "wwwroot\css\site.css" "Word\wwwroot\css\"
|
|
xcopy /q /y "wwwroot\css\sidebar" "Word\wwwroot\css\sidebar\"
|
|
xcopy /q /y "wwwroot\css\sidebar\fonts" "Word\wwwroot\css\sidebar\fonts\"
|
|
xcopy /q /y "wwwroot\css\sidebar\icons" "Word\wwwroot\css\sidebar\icons\"
|
|
xcopy /q /y "wwwroot\css\sidebar\icons\fonts" "Word\wwwroot\css\sidebar\icons\fonts\"
|
|
xcopy /q /y "wwwroot\css\uploader" "Word\wwwroot\css\uploader\"
|
|
xcopy /q /y "wwwroot\grid\adaptive-layout.css" "Word\wwwroot\grid\"
|
|
xcopy /q /y "wwwroot\images\Word" "Word\wwwroot\images\Word\"
|
|
xcopy /q /y "wwwroot\lib\signalr" "Word\wwwroot\lib\signalr\"
|
|
xcopy /q /y "wwwroot\scripts\documenteditor" "Word\wwwroot\scripts\documenteditor\"
|
|
xcopy /q /y "wwwroot\scripts" "Word\wwwroot\scripts\"
|
|
xcopy /q /y "wwwroot\scripts\cldr-data" "Word\wwwroot\scripts\cldr-data\"
|
|
xcopy /q /y "wwwroot\scripts\cldr-data\main" "Word\wwwroot\scripts\cldr-data\main\"
|
|
xcopy /q /y "wwwroot\scripts\cldr-data\main\ar\" "Word\wwwroot\scripts\cldr-data\main\ar\"
|
|
xcopy /q /y "wwwroot\scripts\cldr-data\main\de\" "Word\wwwroot\scripts\cldr-data\main\de\"
|
|
xcopy /q /y "wwwroot\scripts\cldr-data\main\en\" "Word\wwwroot\scripts\cldr-data\main\en\"
|
|
xcopy /q /y "wwwroot\scripts\cldr-data\main\fr-CH\" "Word\wwwroot\scripts\cldr-data\main\fr-CH\"
|
|
xcopy /q /y "wwwroot\scripts\cldr-data\main\he\" "Word\wwwroot\scripts\cldr-data\main\he\"
|
|
xcopy /q /y "wwwroot\scripts\cldr-data\main\vi\" "Word\wwwroot\scripts\cldr-data\main\vi\"
|
|
xcopy /q /y "wwwroot\scripts\cldr-data\main\zh\" "Word\wwwroot\scripts\cldr-data\main\zh\"
|
|
xcopy /q /y "wwwroot\scripts\cldr-data\supplemental" "Word\wwwroot\scripts\cldr-data\supplemental\"
|
|
xcopy /q /y "wwwroot\scripts\locale" "Word\wwwroot\scripts\locale\"
|
|
xcopy /q /y "wwwroot\styles\file-manager" "Word\wwwroot\styles\file-manager\"
|
|
xcopy /q /y "wwwroot\styles\file-manager\images" "Word\wwwroot\styles\file-manager\images\"
|
|
xcopy /q /y "wwwroot\styles\images" "Word\wwwroot\styles\images\"
|
|
xcopy /q /y "wwwroot\styles" "Word\wwwroot\styles\"
|
|
xcopy /q /y "wwwroot\styles\images\sb-icons" "Word\wwwroot\styles\images\sb-icons\"
|
|
xcopy /q /y "wwwroot\styles\images\sb-icons\fonts" "Word\wwwroot\styles\images\sb-icons\fonts\"
|
|
xcopy /q /y "wwwroot\Word" "Word\wwwroot\Word\"
|
|
xcopy /q /y "wwwroot" "Word\wwwroot\"
|
|
xcopy /q /y "Controllers\DocumentEditor" "Word\Controllers\DocumentEditor\"
|
|
xcopy /q /y "Controllers\Word" "Word\Controllers\Word\"
|
|
xcopy /q /y "Pages\Dialog\ComponentsDialog.cshtml.cs" "Word\Pages\Dialog\"
|
|
xcopy /q /y "Helpers" "Word\Helpers\"
|
|
xcopy /q /y "Helpers\BrowserClasses" "Word\Helpers\BrowserClasses\"
|
|
xcopy /q /y "Helpers\BrowserClasses\Formatter" "Word\Helpers\BrowserClasses\Formatter\"
|
|
xcopy /q /y "Pages" "Word\Pages\"
|
|
xcopy /q /y "Views" "Word\Views\"
|
|
xcopy /q /y "Views\DocumentEditor" "Word\Views\DocumentEditor\"
|
|
xcopy /q /y "Views\Word" "Word\Views\Word\"
|
|
xcopy /q /y "Pages\Dialog\ComponentsDialog.cshtml" "Word\Pages\Dialog\"
|
|
xcopy /q /y "Pages\Shared\_Layout.cshtml" "Word\Pages\Shared\"
|
|
xcopy /q /y "Pages\Word" "Word\Pages\Word\"
|
|
xcopy /q /y "Pages\ThemeList.cs" "Word\Pages\"
|
|
xcopy /q /y "Models\AutoFilterIconList.cs" "Word\Models\"
|
|
xcopy /q /y "Models\OrdersDetails.cs" "Word\Models\"
|
|
xcopy /q /y "Models\ScheduleEvents.cs" "Word\Models\"
|
|
xcopy /q /y "Models\WordDocumentList.cs" "Word\Models\"
|
|
xcopy /q /y "Properties" "Word\Properties\"
|
|
xcopy /q /y ".gitignore" "Word\"
|
|
xcopy /q /y ".gitleaksignore" "Word\"
|
|
xcopy /q /y "appsettings.json" "Word\"
|
|
xcopy /q /y "bundleconfig.json" "Word\"
|
|
xcopy /q /y "config.json" "Word\"
|
|
xcopy /q /y "gulpfile.js" "Word\"
|
|
xcopy /q /y "Jenkinsfile" "Word\"
|
|
xcopy /q /y "NuGet.config" "Word\"
|
|
xcopy /q /y "package.json" "Word\"
|
|
xcopy /q /y "Program.cs" "Word\"
|
|
xcopy /q /y "README.md" "Word\"
|
|
xcopy /q /y "SyncfusionLicense.txt" "Word\"
|
|
xcopy /q /y "web.config" "Word\"
|
|
xcopy /q /y "Word\samplelist.js" "Word\wwwroot\scripts\"
|
|
xcopy /q /y "Word\sampleOrder.json" "Word\wwwroot\scripts\"
|
|
|
|
@echo off
|
|
set "destinationFile=Word\Pages\index.cshtml.cs"
|
|
set "searchWord=/grid/gridoverview"
|
|
set "replaceWord=/word/updatefields"
|
|
|
|
setlocal enabledelayedexpansion
|
|
(for /f "usebackq delims=" %%a in ("%destinationFile%") do (
|
|
set "line=%%a"
|
|
set "line=!line:%searchWord%=%replaceWord%!"
|
|
echo !line!
|
|
)) > "%destinationFile%.tmp"
|
|
|
|
move /y "%destinationFile%.tmp" "%destinationFile%"
|
|
|
|
echo Word '%searchWord%' replaced with '%replaceWord%' in %destinationFile% |