The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Using MediaDirect button for shut-down?

    Discussion in 'Dell' started by Silas Awaketh, Oct 29, 2007.

  1. Silas Awaketh

    Silas Awaketh Notebook Deity

    Reputations:
    891
    Messages:
    1,676
    Likes Received:
    0
    Trophy Points:
    0
    Hi!

    I removed MediaDirect from my notebook (because it is useless for me), and it's button is lying useless. I was wondering if there is some way with which I could configure to make my notebook Shut-down. I use the power button to make my notebook to go in the Sleep mode. Is there a way?

    Thank you! :)
     
  2. PhoenixFx

    PhoenixFx Notebook Virtuoso

    Reputations:
    744
    Messages:
    3,083
    Likes Received:
    0
    Trophy Points:
    105
    Take a look at this thread. If you write a small exe to shutdown the computer then you can do it by renaming it to DMX.exe. I’m not sure whether a batch file would work instead of an exe, cos if it does, then you can crate a .bat file with the following command : shutdown –s –f –t 10 (it’ll force close all programs and shutdown the PC in 10 seconds).

    If you need, I can write a small exe to internally call shutdown.exe.
     
  3. PhoenixFx

    PhoenixFx Notebook Virtuoso

    Reputations:
    744
    Messages:
    3,083
    Likes Received:
    0
    Trophy Points:
    105
    Ok , here you go. Just wrote a small exe to run a batchfile. Place the DMX.exe and DMXBatch.bat in the same folder. You can edit the .bat file to do anything (shutdown or launch a new program etc..). At the moment I’ve set it to shutdown in 10 seconds.

    Wrote it in C#.net, therefore you’ll need .Net framework to run it. If you have Vista then its already there.
     

    Attached Files: