1
0
duplikat dari https://github.com/dockur/windows.git synced 2026-06-10 11:59:33 +08:00

feat: Add entry to hosts file (#1131)

This commit is contained in:
Kroese
2025-03-18 17:31:00 +01:00
committed by GitHub
orang tua 461be96ecd
melakukan f454fa7b34
39 mengubah file dengan 195 tambahan dan 0 penghapusan
+5
Melihat File
@@ -252,6 +252,11 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>22</Order>
<CommandLine>cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts</CommandLine>
<Description>Add entry in hosts file</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>23</Order>
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
<Description>Execute custom script from the OEM folder if exists</Description>
</SynchronousCommand>