dota2 地形制作
对DOTA2目录下pak01__dir进行写入操作 bat脚本(Theme\FlowersSea\script.bat)代码如下
@echo current dir:E:\steam\Dota 2\SteamApps\common\dota 2 beta\dota\files\materials @echo current dir:E:\steam\Dota 2\SteamApps\common\dota 2 beta\dota\files\materials\models @echo current dir:E:\steam\Dota 2\SteamApps\common\dota 2 beta\dota\files\materials\models\props_tree @"%~dp0"vpk.exe x theme.vpk materials\models\props_tree\tree_oak_leaves_00.vtf @echo additional materials\models\props_tree\tree_oak_leaves_00.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\models\props_tree\tree_oak_leaves_00.vtf @echo current progress:1/84 @"%~dp0"vpk.exe x theme.vpk materials\models\props_tree\tree_oak_leaves_04.vmt @echo additional materials\models\props_tree\tree_oak_leaves_04.vmt @"%~dp0"vpk.exe a pak01_dir.vpk materials\models\props_tree\tree_oak_leaves_04.vmt @echo current progress:2/84 @"%~dp0"vpk.exe x theme.vpk materials\models\props_tree\tree_oak_leaves_04.vtf @echo additional materials\models\props_tree\tree_oak_leaves_04.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\models\props_tree\tree_oak_leaves_04.vtf @echo current progress:3/84 @"%~dp0"vpk.exe x theme.vpk materials\models\props_tree\tree_oak_leaves_05.vtf @echo additional materials\models\props_tree\tree_oak_leaves_05.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\models\props_tree\tree_oak_leaves_05.vtf @echo current progress:4/84 @"%~dp0"vpk.exe x theme.vpk materials\models\props_tree\tree_oak_leaves_08.vtf @echo additional materials\models\props_tree\tree_oak_leaves_08.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\models\props_tree\tree_oak_leaves_08.vtf @echo current progress:5/84 @echo current dir:E:\steam\Dota 2\SteamApps\common\dota 2 beta\dota\files\materials\nature @"%~dp0"vpk.exe x theme.vpk materials\nature\grass_00.vtf @echo additional materials\nature\grass_00.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\grass_00.vtf @echo current progress:6/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\grass_00a.vtf @echo additional materials\nature\grass_00a.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\grass_00a.vtf @echo current progress:7/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\grass_00c.vtf @echo additional materials\nature\grass_00c.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\grass_00c.vtf @echo current progress:8/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\grass_00d.vtf @echo additional materials\nature\grass_00d.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\grass_00d.vtf @echo current progress:9/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\grass_00e.vtf @echo additional materials\nature\grass_00e.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\grass_00e.vtf @echo current progress:10/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\grass_blendmask.vtf @echo additional materials\nature\grass_blendmask.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\grass_blendmask.vtf @echo current progress:11/84 @echo current progress:13/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\moss001.vtf @echo additional materials\nature\moss001.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\moss001.vtf @echo current progress:14/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\moss002.vtf @echo additional materials\nature\moss002.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\moss002.vtf @echo current progress:15/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\river_mud001.vtf @echo additional materials\nature\river_mud001.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\river_mud001.vtf @echo current progress:16/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\river_rock001.vtf @echo additional materials\nature\river_rock001.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\river_rock001.vtf @echo current progress:17/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\sand_cracked001.vtf @echo additional materials\nature\sand_cracked001.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\sand_cracked001.vtf @echo current progress:18/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\sand_cracked002.vtf @echo additional materials\nature\sand_cracked002.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\sand_cracked002.vtf @echo current progress:19/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\sand_path001.vtf @echo additional materials\nature\sand_path001.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\sand_path001.vtf @echo current progress:20/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\wall_blendmask.vtf @echo additional materials\nature\wall_blendmask.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\wall_blendmask.vtf @echo current progress:21/84 @echo current dir:E:\steam\Dota 2\SteamApps\common\dota 2 beta\dota\files\materials\overlays @"%~dp0"vpk.exe x theme.vpk materials\overlays\bad_base_stone001.vtf @echo additional materials\overlays\bad_base_stone001.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\bad_base_stone001.vtf @echo current progress:22/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\bad_base_stone001_spec.vtf @echo additional materials\overlays\bad_base_stone001_spec.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\bad_base_stone001_spec.vtf @echo current progress:23/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\bad_puddle_lava_00.vtf @echo additional materials\overlays\bad_puddle_lava_00.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\bad_puddle_lava_00.vtf @echo current progress:24/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\bad_puddle_lava_00_spec.vtf @echo additional materials\overlays\bad_puddle_lava_00_spec.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\bad_puddle_lava_00_spec.vtf @echo current progress:25/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\bad_puddle_lava_blue_00.vtf @echo additional materials\overlays\bad_puddle_lava_blue_00.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\bad_puddle_lava_blue_00.vtf @echo current progress:26/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\bad_puddle_lava_green_00.vtf @echo additional materials\overlays\bad_puddle_lava_green_00.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\bad_puddle_lava_green_00.vtf @echo current progress:27/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\bad_sigil_tower001.vtf @echo additional materials\overlays\bad_sigil_tower001.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\bad_sigil_tower001.vtf @echo current progress:28/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\bad_stone_inlay001.vtf @echo additional materials\overlays\bad_stone_inlay001.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\bad_stone_inlay001.vtf @echo current progress:29/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border001.vtf @echo additional materials\overlays\path_border001.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border001.vtf @echo current progress:30/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border001_snow.vtf @echo additional materials\overlays\path_border001_snow.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border001_snow.vtf @echo current progress:31/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border002.vtf @echo additional materials\overlays\path_border002.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border002.vtf @echo current progress:32/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border002_snow.vtf @echo additional materials\overlays\path_border002_snow.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border002_snow.vtf @echo current progress:33/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border003.vtf @echo additional materials\overlays\path_border003.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border003.vtf @echo current progress:34/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border003b.vtf @echo additional materials\overlays\path_border003b.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border003b.vtf @echo current progress:35/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border003b_spec.vtf @echo additional materials\overlays\path_border003b_spec.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border003b_spec.vtf @echo current progress:36/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border004.vtf @echo additional materials\overlays\path_border004.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border004.vtf @echo current progress:37/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border004b.vtf @echo additional materials\overlays\path_border004b.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border004b.vtf @echo current progress:38/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border004b_spec.vtf @echo additional materials\overlays\path_border004b_spec.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border004b_spec.vtf @echo current progress:39/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border005.vtf @echo additional materials\overlays\path_border005.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border005.vtf @echo current progress:40/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border006.vtf @echo additional materials\overlays\path_border006.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border006.vtf @echo current progress:41/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border007.vtf @echo additional materials\overlays\path_border007.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border007.vtf @echo current progress:42/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\path_border008.vtf @echo additional materials\overlays\path_border008.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\path_border008.vtf @echo current progress:43/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\wagon_path001.vtf @echo additional materials\overlays\wagon_path001.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\wagon_path001.vtf @echo current progress:44/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\wagon_path001b.vtf @echo additional materials\overlays\wagon_path001b.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\wagon_path001b.vtf @echo current progress:45/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\wagon_path001b_spec.vtf @echo additional materials\overlays\wagon_path001b_spec.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\wagon_path001b_spec.vtf @echo current progress:46/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\wagon_path001_spec.vtf @echo additional materials\overlays\wagon_path001_spec.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\wagon_path001_spec.vtf @echo current progress:47/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\wagon_path002.vtf @echo additional materials\overlays\wagon_path002.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\wagon_path002.vtf @echo current progress:48/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\wagon_path002b.vtf @echo additional materials\overlays\wagon_path002b.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\wagon_path002b.vtf @echo current progress:49/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\wagon_path003a.vtf @echo additional materials\overlays\wagon_path003a.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\wagon_path003a.vtf @echo current progress:50/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\wagon_path003b.vtf @echo additional materials\overlays\wagon_path003b.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\wagon_path003b.vtf @echo current progress:51/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\wagon_path004a.vtf @echo additional materials\overlays\wagon_path004a.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\wagon_path004a.vtf @echo current progress:52/84 @"%~dp0"vpk.exe x theme.vpk materials\overlays\wagon_path004b.vtf @echo additional materials\overlays\wagon_path004b.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\overlays\wagon_path004b.vtf @echo current progress:53/84 @echo current dir:E:\steam\Dota 2\SteamApps\common\dota 2 beta\dota\files\materials\stone @"%~dp0"vpk.exe x theme.vpk materials\stone\stone_path001.vtf @echo additional materials\stone\stone_path001.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\stone\stone_path001.vtf @echo current progress:54/84 @"%~dp0"vpk.exe x theme.vpk materials\stone\stone_path001b.vtf @echo additional materials\stone\stone_path001b.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\stone\stone_path001b.vtf @echo current progress:55/84 @"%~dp0"vpk.exe x theme.vpk materials\stone\stone_path001_angled.vtf @echo additional materials\stone\stone_path001_angled.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\stone\stone_path001_angled.vtf @echo current progress:56/84 @"%~dp0"vpk.exe x theme.vpk materials\stone\stone_path002.vtf @echo additional materials\stone\stone_path002.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\stone\stone_path002.vtf @echo current progress:57/84 @"%~dp0"vpk.exe x theme.vpk materials\stone\stone_path003.vtf @echo additional materials\stone\stone_path003.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\stone\stone_path003.vtf @echo current progress:58/84 @"%~dp0"vpk.exe x theme.vpk materials\stone\stone_path004.vtf @echo additional materials\stone\stone_path004.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\stone\stone_path004.vtf @echo current progress:59/84 @"%~dp0"vpk.exe x theme.vpk materials\stone\stone_path005.vtf @echo additional materials\stone\stone_path005.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\stone\stone_path005.vtf @echo current progress:60/84 @"%~dp0"vpk.exe x theme.vpk materials\stone\stone_path006.vtf @echo additional materials\stone\stone_path006.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\stone\stone_path006.vtf @echo current progress:61/84 @"%~dp0"vpk.exe x theme.vpk materials\stone\stone_path007.vtf @echo additional materials\stone\stone_path007.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\stone\stone_path007.vtf @echo current progress:62/84 @"%~dp0"vpk.exe x theme.vpk materials\stone\stone_path008.vtf @echo additional materials\stone\stone_path008.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\stone\stone_path008.vtf @echo current progress:63/84 @"%~dp0"vpk.exe x theme.vpk materials\stone\stone_path_north.vtf @echo additional materials\stone\stone_path_north.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\stone\stone_path_north.vtf @echo current progress:64/84 @echo current dir:E:\steam\Dota 2\SteamApps\common\dota 2 beta\dota\files\models @echo current dir:E:\steam\Dota 2\SteamApps\common\dota 2 beta\dota\files\models\props_tree @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree001.mdl @echo additional models\props_tree\dire_tree001.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree001.mdl @echo current progress:65/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree002.mdl @echo additional models\props_tree\dire_tree002.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree002.mdl @echo current progress:66/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree002_grow.mdl @echo additional models\props_tree\dire_tree002_grow.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree002_grow.mdl @echo current progress:67/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree003.mdl @echo additional models\props_tree\dire_tree003.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree003.mdl @echo current progress:68/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree004.mdl @echo additional models\props_tree\dire_tree004.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree004.mdl @echo current progress:69/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree004b.mdl @echo additional models\props_tree\dire_tree004b.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree004b.mdl @echo current progress:70/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree004b_sfm.mdl @echo additional models\props_tree\dire_tree004b_sfm.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree004b_sfm.mdl @echo current progress:71/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree004_sfm.mdl @echo additional models\props_tree\dire_tree004_sfm.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree004_sfm.mdl @echo current progress:72/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree005.mdl @echo additional models\props_tree\dire_tree005.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree005.mdl @echo current progress:73/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree006.mdl @echo additional models\props_tree\dire_tree006.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree006.mdl @echo current progress:74/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree007.mdl @echo additional models\props_tree\dire_tree007.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree007.mdl @echo current progress:75/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree007_sfm.mdl @echo additional models\props_tree\dire_tree007_sfm.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree007_sfm.mdl @echo current progress:76/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree007_snow_sfm.mdl @echo additional models\props_tree\dire_tree007_snow_sfm.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree007_snow_sfm.mdl @echo current progress:77/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree008.mdl @echo additional models\props_tree\dire_tree008.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree008.mdl @echo current progress:78/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree008_sfm.mdl @echo additional models\props_tree\dire_tree008_sfm.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree008_sfm.mdl @echo current progress:79/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree008_snow_sfm.mdl @echo additional models\props_tree\dire_tree008_snow_sfm.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree008_snow_sfm.mdl @echo current progress:80/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree009.mdl @echo additional models\props_tree\dire_tree009.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree009.mdl @echo current progress:81/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree010.mdl @echo additional models\props_tree\dire_tree010.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree010.mdl @echo current progress:82/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree011.mdl @echo additional models\props_tree\dire_tree011.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree011.mdl @echo current progress:83/84 @"%~dp0"vpk.exe x theme.vpk models\props_tree\dire_tree012.mdl @echo additional models\props_tree\dire_tree012.mdl @"%~dp0"vpk.exe a pak01_dir.vpk models\props_tree\dire_tree012.mdl @echo current progress:84/84 @"%~dp0"vpk.exe x theme.vpk materials\nature\embers_00.vtf @"%~dp0"vpk.exe x theme.vpk materials\nature\embers_01.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\embers_00.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\nature\embers_01.vtf @"%~dp0"vpk.exe x theme.vpk materials\water\water_dota_lowend.vmt @"%~dp0"vpk.exe a pak01_dir.vpk materials\water\water_dota_lowend.vmt @"%~dp0"vpk.exe x theme.vpk materials\particle\particle_ring_aoe_default.vtf @"%~dp0"vpk.exe a pak01_dir.vpk materials\particle\particle_ring_aoe_default.vtf
FileHelper.CopyDirectory(StaticConfig.appPath + "\\Directory\\materials", StaticConfig.dota2Path + "materials"); Process p = new Process(); p.StartInfo.Arguments = "\"" + StaticConfig.dota2Path + "\"";//参数 多个参数用逗号隔开 p.StartInfo.FileName = StaticConfig.appPath + "\\" + filepath; p.StartInfo.UseShellExecute = true; p.StartInfo.CreateNoWindow = true; p.StartInfo.RedirectStandardInput = false; p.StartInfo.RedirectStandardOutput = false; p.Start();