Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Batch file 启动后我需要全屏显示程序_Batch File_Button_Key_Fullscreen - Fatal编程技术网

Batch file 启动后我需要全屏显示程序

Batch file 启动后我需要全屏显示程序,batch-file,button,key,fullscreen,Batch File,Button,Key,Fullscreen,我写了一个代码,用于从网络自动打开程序。同时,它应该关闭explorer.exe。 我工作,并作出所有必要的行动,但程序每次都在小窗口打开。我想在它启动后全屏播放。我知道“win”+“up arrow”可以全屏运行这个程序,但我如何在bat文件中实现它呢 **@echo off timeout 5 taskkill /F /IM ihelp.exe start "ihelp" /D "\\network\blabla\someprogram" "

我写了一个代码,用于从网络自动打开程序。同时,它应该关闭explorer.exe。 我工作,并作出所有必要的行动,但程序每次都在小窗口打开。我想在它启动后全屏播放。我知道“win”+“up arrow”可以全屏运行这个程序,但我如何在bat文件中实现它呢

**@echo off
timeout 5
taskkill /F /IM ihelp.exe
start "ihelp" /D "\\network\blabla\someprogram" "someprogram.exe"
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"  /v NoDesktop /t REG_DWORD /d 1 /f
taskkill /F /IM "explorer.exe"
exit**
请你帮我一下好吗。我已经找到了按钮的代码(VK_LWIN+VK_UP),我试图用此代码打开bat文件,但无论如何它都无法全屏显示

先谢谢你。
问候

您是否尝试过
start/max
(有关更多选项,请参阅
start/?
)?