Page 1 of 1
fullscreen in CMD WMIC
Posted: 13 Apr 2012 12:54
by joakim
HI, im useing windows 7 64 bit, i have a laptop so im in a widescreen reselution (1366x768). i now you can put in "WMIC" in your code to make the window strech. but i want to exit the wmic:root\cli> with out needing to type exit all the the time i know that you can type some thing like this: ECHO TYPE EXIT to make the code do it 4 you. so i can contineu. lol i cant spell XD
Re: fullscreen in CMD WMIC
Posted: 13 Apr 2012 19:14
by abc0502
hay joakim
i'm not familiar with the wmic but i use this formation it might work
replace the command with the comand that require the exit
Re: fullscreen in CMD WMIC
Posted: 15 Apr 2012 15:16
by joakim
Hi, im sorry but it dident work, the cmd window just closes, btw heres my code
@echo off
color a
title =(
cls
Echo exit|Command
pause
Re: fullscreen in CMD WMIC
Posted: 18 Apr 2012 20:22
by abc0502
u should replace the "command" word with your command line
like this:
ECHO Y| cacls %userprofile%\desktop\myfolder /d AdministratorThe green words is for typing y "yes" whn ask for yes or no for the command in the blue.
if it didn't work send me the command u want to pass the exit to it for testing