通过批处理命令全屏? [英] Full screen through batch command?

查看:343
本文介绍了通过批处理命令全屏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows下的批处理脚本。当任何人会点击该脚本我想要的命令窗口,成为全屏幕就像我们通过键盘快捷键做 [Alt + Enter键]

I have a batch script under Windows. When anyone will click on that script I want the command window to become full screen like we do by keyboard shortcut [Alt+Enter].

是否可以在批处理文件中使用的任何命令自动完成?

Can it be done automatically using any command in batch file?

推荐答案

在Windows XP中,你需要启动你的程序最大化通过开始/ MAX如下(但不是全屏幕):

In Windows XP, you need to start your program maximized (but not full screen) via "start /max" as follows:

start "Winow Title" /MAX "C:\batches\myfile.bat"

此命令将原来的批处理文件中,并调用真正的浴文件。

This command would be inside your original batch file, and call the real bath file.

我不认为有一种方法可以从批处理文件中更改执行cmd命令的的全屏岬的缺席有人写一个特殊的应用程序通过模拟发送这样做 Alt + Enter键来的父进程。

I don't think there's a way to change the full screen-ness of an executing "cmd" command from within a batch file absent someone writing a special app to do so by emulating sending Alt+Enter to the parent process.

在Windows 7中(也可能是Vista的),您必须XP虚拟机内运行全屏模式。

In Windows 7 (and probably Vista) you must run inside XP virtual machine for full screen mode.

这篇关于通过批处理命令全屏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆