comparison Build/init_win.bat @ 1936:68f2d9d3a1d9

MSVS 2010 project file
author Ritor1
date Thu, 24 Oct 2013 15:24:14 +0600
parents 8cd321994943
children 255168c31655
comparison
equal deleted inserted replaced
1930:df4e27f2a541 1936:68f2d9d3a1d9
1 @echo off 1 @echo off
2 set _mm7_install_dir=E:\g\mm collection\MM_VII 2 set _mm7_install_dir=C:\Program Files\Buka\MMCollection\MM_VII
3
4 3
5 4
6 5
7 REM Check Windows Version 6 REM Check Windows Version
8 7
35 echo Win 2000 34 echo Win 2000
36 goto end 35 goto end
37 36
38 :win_xp 37 :win_xp
39 echo Win XP 38 echo Win XP
40 reg add HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment /f /v "WoMM_MM7_INSTALL_DIR" /t REG_SZ /d "%_mm7_install_dir%" 39 reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /f /v "WoMM_MM7_INSTALL_DIR" /t REG_SZ /d "%_mm7_install_dir%"
41 40
42 41
43 reg query HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment /v "WoMM_MM7_INSTALL_DIR" 42 reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "WoMM_MM7_INSTALL_DIR"
44 goto end 43 goto end
45 44
46 :win_vista 45 :win_vista
47 echo Win Vista 46 echo Win Vista
48 goto end 47 goto end