blob: de8770e47d262a8dd30c47385fbfeee91396a1a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
@echo off
SET DIR=%~dp0
SET INPUT_DIR=%AppData%\PrusaSlicer
SET OUTPUT_DIR=%~dp0PrusaSlicer
SET PRINT_DIR=sla_print
SET PRINTER_DIR=printer
SET files[0]=UVtools Prusa SL1.ini
SET files[1]=EPAX E6 Mono.ini
SET files[2]=EPAX E10 Mono.ini
SET files[3]=EPAX X1.ini
SET files[4]=EPAX X10.ini
SET files[5]=EPAX X10 4K Mono.ini
SET files[6]=EPAX X133 4K Mono.ini
SET files[7]=EPAX X156 4K Color.ini
SET files[8]=EPAX X1K 2K Mono.ini
SET files[9]=Zortrax Inkspire.ini
SET files[10]=Nova3D Elfin.ini
SET files[11]=Nova3D Bene4 Mono.ini
SET files[12]=AnyCubic Photon.ini
SET files[13]=AnyCubic Photon S.ini
SET files[14]=AnyCubic Photon Zero.ini
SET files[15]=AnyCubic Photon X.ini
SET files[16]=AnyCubic Photon Mono.ini
SET files[17]=AnyCubic Photon Mono SE.ini
SET files[18]=AnyCubic Photon Mono X.ini
SET files[19]=Elegoo Mars.ini
SET files[20]=Elegoo Mars 2 Pro.ini
SET files[21]=Elegoo Mars C.ini
SET files[22]=Elegoo Saturn.ini
SET files[23]=Peopoly Phenom.ini
SET files[24]=Peopoly Phenom L.ini
SET files[25]=Peopoly Phenom Noir.ini
SET files[26]=Peopoly Phenom XXL.ini
SET files[27]=QIDI Shadow5.5.ini
SET files[28]=QIDI Shadow6.0 Pro.ini
SET files[29]=QIDI S-Box.ini
SET files[30]=QIDI I-Box Mono.ini
SET files[31]=Phrozen Shuffle.ini
SET files[32]=Phrozen Shuffle Lite.ini
SET files[33]=Phrozen Shuffle XL.ini
SET files[34]=Phrozen Shuffle XL Lite.ini
SET files[35]=Phrozen Shuffle 16.ini
SET files[36]=Phrozen Shuffle 4K.ini
SET files[37]=Phrozen Sonic.ini
SET files[38]=Phrozen Sonic 4K.ini
SET files[39]=Phrozen Sonic Mighty 4K.ini
SET files[40]=Phrozen Sonic Mini.ini
SET files[41]=Phrozen Sonic Mini 4K.ini
SET files[42]=Phrozen Transform.ini
SET files[43]=Kelant S400.ini
SET files[44]=Wanhao D7.ini
SET files[45]=Wanhao D8.ini
SET files[46]=Wanhao CGR Mini Mono.ini
SET files[47]=Wanhao CGR Mono.ini
SET files[48]=Creality LD-002R.ini
SET files[49]=Creality LD-002H.ini
SET files[50]=Creality LD-006.ini
SET files[51]=Voxelab Polaris 5.5.ini
SET files[52]=Voxelab Proxima 6.ini
SET files[53]=Voxelab Ceres 8.9.ini
SET files[54]=Longer Orange 10.ini
SET files[55]=Longer Orange 30.ini
SET files[56]=Longer Orange4K.ini
SET files[57]=Uniz IBEE.ini
echo PrusaSlicer Printers Instalation
echo This will replace printers, all changes will be discarded
echo %INPUT_DIR%
echo %OUTPUT_DIR%
echo Importing Printers
for /F "tokens=2 delims==" %%s in ('set files[') do xcopy /d /y "%INPUT_DIR%\%PRINTER_DIR%\%%s" "%OUTPUT_DIR%\%PRINTER_DIR%\"
echo Importing Profiles
xcopy /i /y /d %INPUT_DIR%\%PRINT_DIR% %OUTPUT_DIR%\%PRINT_DIR%
REM /s Copies directories and subdirectories, unless they are empty. If you omit /s, xcopy works within a single directory.
REM /y Suppresses prompting to confirm that you want to overwrite an existing destination file.
REM /i If Source is a directory or contains wildcards and Destination does not exist,
REM xcopy assumes Destination specifies a directory name and creates a new directory.
REM Then, xcopy copies all specified files into the new directory.
REM By default, xcopy prompts you to specify whether Destination is a file or a directory.
REM /d Copies source files changed on or after the specified date only.
REM If you do not include a MM-DD-YYYY value, xcopy copies all Source files that are newer than existing Destination files.
REM This command-line option allows you to update files that have changed.
pause
|