search for: enabledelayedexpansion

Displaying 6 results from an estimated 6 matches for "enabledelayedexpansion".

2015 Feb 27
0
[PATCH 2/4] firstboot: enhance firstboot driver script for Windows
...210,16 +210,39 @@ module Windows = struct * scripts in the directory. Note we need to use CRLF line endings * in this script. *) - let firstboot_script = "\ + let firstboot_script = sprintf "\ @echo off -echo starting firstboot service >>log.txt +setlocal EnableDelayedExpansion +set firstboot=%s +set log=%%firstboot%%\\log.txt -for /f %%f in ('dir /b scripts') do call \"scripts\\%%f\" >>log.txt +set scripts=%%firstboot%%\\scripts +set scripts_done=%%firstboot%%\\scripts-done -echo uninstalling firstboot service >>log.txt -rhsrvany.exe -s...
2016 Nov 05
1
[PATCH] genversion.bat: don't overwrite version.mk
The automake script doesn't mess with it in any way, and the projects use win32/version.h and not version.mk. As it is works now, it's just an annoyance for VS devs that use git. --- win32/genversion.bat | 8 -------- 1 file changed, 8 deletions(-) diff --git a/win32/genversion.bat b/win32/genversion.bat index cd1d4dc..8b31831 100644 --- a/win32/genversion.bat +++ b/win32/genversion.bat
2015 Nov 24
2
why rsync update large directory so slow?
...: Destination root directory set dst_dir=/cygdrive/e/filetest :: Make sure path without space set pwd_file="/cygdrive/c/user.pass" :: Log file set log_dir=/cygdrive/d/log :: Synchronize Files, with 16 connections according to 16 directories(0~f) for %%i in (0 1 2 3 4 5 6) do ( setlocal enabledelayedexpansion set log_file=%log_dir%/%date:~3,4%%date:~8,2%%date:~11,2%%time:~0,2%%time:~3,2%%time:~6,2%_%%i.txt :: Remove space in log_file set "log_file=!log_file: =!" start cmd /c rsync -avvu --delete %src_dir%/Files/%%i %dst_dir%/Files --password-file=%pwd_file% --log-file=!log_file! --log-file-for...
2016 Apr 05
0
[PATCH 3/7] customize: add support for pvvxsvc
...a_dir // srvany) (firstboot_dir // srvany); + + (* Write a firstboot.bat control script which just runs the other + * scripts in the directory. Note we need to use CRLF line endings + * in this script. + *) + let firstboot_script = sprintf "\ @echo off setlocal EnableDelayedExpansion @@ -253,51 +261,52 @@ for %%%%f in (\"%%scripts%%\"\\*.bat) do ( ) echo uninstalling firstboot service -rhsrvany.exe -s firstboot uninstall -" firstboot_dir_win in - - g#write (firstboot_dir // "firstboot.bat") (unix2dos firstboot_script); - - (* Open the SYSTEM h...
2015 Feb 27
5
[PATCH 0/4] firstboot: assorted enhancements
This patchset attempts to address a number of shortcomings in the firstboot infrastructure I came across while working with v2v conversion of various Windows VMs. Roman Kagan (4): firstboot: consolidate line ending conversion firstboot: enhance firstboot driver script for Windows firstboot: make script naming descriptive convert_windows: split firstboot into steps
2016 Apr 05
22
[PATCH 0/7] Add support for SUSE virtio windows drivers
Hi there, SUSE ships Virtual Machine Driver Pack for the virtio windows drivers. Get v2v and customize to discover them and use them if available. Cédric Bosdonnat (7): v2v: check next free oem%d.inf in /Windows/Inf v2v: extract controller offset discovery as a function customize: add support for pvvxsvc v2v: extract reusable parts of viostor regedits v2v: adapt the subkey in Enum