Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Some help please hiding a window for a scheduled shut down window


  • Please log in to reply

#1
Mandrake

Mandrake

    New Member

  • Member
  • Pip
  • 2 posts
Hi

I have written a batch file which is designed to shut down my PC after 2 hours, similar to the sleep function on a TV. When I watch TV through my PC at night and I fall asleep I don't want my PC running all night long.

This is the script I am using in the batch file:
%windir%\System32\shutdown.exe -s -f -t 7200

Now what I am asking; when I run this file it works perfectly to shut down my PC in 2 hours, however it pops up a window that is always on top. What I want to know is how can I get this window to be hidden when I run the batch file? or at least make the window minimize to the task bar? It's annoying because it sits on top of everything else including my TV image.

I have tried adjusting the properties of the batch file to run minimized however this doesn't work.

I have uploaded a jpg image of the window I am trying to close as an attachment to this topic.

Any suggestions or help appreciated

Attached Thumbnails

  • window.JPG

  • 0

Advertisements


#2
GANESH der

GANESH der

    New Member

  • Member
  • Pip
  • 5 posts
removed useless advice

Edited by Rorschach112, 03 March 2010 - 06:02 AM.

  • 0

#3
SRX660

SRX660

    motto - Just get-er-done

  • Technician
  • 4,345 posts
Probably easier to use WinOFF.

http://www.ampsoft.n...php#Description

SRX660
  • 0

#4
Mandrake

Mandrake

    New Member

  • Topic Starter
  • Member
  • Pip
  • 2 posts
Thanks SRX660

Just downloaded it and giving it a test, looks like exactly what I was looking for.

Mandrake
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP