MSFN Forum: Help Me in Batch Programming - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Help Me in Batch Programming Rate Topic: -----

#1 User is offline   pulkit 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 08-August 05

Posted 10 September 2005 - 08:22 AM

How do we change the screen resolution using batch programming

pls tell me the command for it along with the parameters :huh:

Thank you :thumbup


#2 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 10 September 2005 - 09:22 AM

You cannot do it using internal tools... You must use some external utils (dont remember exactly name) or maybe try to find WMI class for it and do it through WMIC/vbs

#3 User is offline   rikgale 

  • uA lover
  • PipPipPip
  • Group: Members
  • Posts: 422
  • Joined: 01-November 04

Posted 10 September 2005 - 09:34 AM

Search for a tool called 1365VidChng.exe

place it in you system32 folder and then you can call it and pass it the screen res. and refresh rate as params.

As an example......

cmdow @ /HID
@echo off

%SYSTEMROOT%\SYSTEM32\1365VidChng.exe 1024x768x32@60 -q


Get the .exe and do a /? on it to get the full list of params. Doesn't/will not work on a VPC or VMware install, but does work on a real computer as long as the video drivers are installed 1st

HTH
Rik

#4 User is offline   dman 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 717
  • Joined: 01-February 05

Posted 10 September 2005 - 09:59 AM

another command line tool is qres
http://www.snapfiles.../fwcprompt.html

#5 User is online   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,117
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 11 September 2005 - 05:55 AM

What about this!
rundll deskcp16.dll,QUICKRES_RUNDLLENTRY 1024x768x24
<Edit>
I know but noone said it wasnt for Win9x either…

Back on subject, the current 32-bit version of the fore-mentioned is MultiRes 1.54, for scripting examples click here.
</Edit>

This post has been edited by Yzöwl: 11 September 2005 - 06:08 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy