Closed Thread Icon

Preserved Topic: Batch files (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=17062" title="Pages that link to Preserved Topic: Batch files (Page 1 of 1)" rel="nofollow" >Preserved Topic: Batch files <span class="small">(Page 1 of 1)</span>\

 
Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 09-08-2002 20:46

I want to make a batch file (or script) to change my screen size settings when windows logs in to my account and to change them back when I log out...

On WinXP, I've no idea even where to start.. I know I can put the 'on login' one in the startup dir, but after that I haven't the foggiest clue...

anyone have any ideas?


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 09-08-2002 20:52

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 09-08-2002 20:58

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 09-08-2002 20:58

Boot.ini and autoexec.bat are WAY before logon, so they won't help. Additionally, autoexec.bat shouldn't exist if you're using a Win32 based machine. It's only used for backwards compatibility. It's almost always blank if you're using the correct drivers for things. If it's empty, just kill it.

Boot.ini deals more with drives and partitions. I wouldn't go messing with that.

There are some third party programs that can run things on logoff. You might want to look into those at download.com

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 09-08-2002 21:35

ooo, this is neat... any open source solutions?

I'm thinking the registry has got to have this somewhere, but I can't find it..


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

[This message has been edited by Petskull (edited 09-08-2002).]

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 09-09-2002 09:45

Hi Petskull,

your request doesn't seem to be a batch file for me!

I made you a small tool.

you should run it as:
el /e:800,600 /l:1024,768

where 'el' denotes 'enter-leave' , /e: ->ENTERING and /l: ->LEAVING
you can put any number after /e: or /l:



Skaarjj
Maniac (V) Mad Scientist

From: :morF
Insane since: May 2000

posted posted 09-09-2002 12:32

You can use organsiational policies from the admin acount on XP to determine what happens at logon and log off...don't ask me how though.

Koan 63, written on the wall of cell number 250:
Those who Believe
Can
Those who Try
Do
Those who Love
Live

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 09-11-2002 18:28

lallous -- this is sweet!

can I take a look at the source?


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

« BackwardsOnwards »

Show Forum Drop Down Menu