Announcement

Collapse
No announcement yet.

running programs as 98 shuts down

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • running programs as 98 shuts down

    Is this possible to do as part of the shutdown sequance.
    Chief Lemon Buyer no more Linux sucks but not as much
    Weather nut and sad git.

    My Weather Page

  • #2
    Damn good question!
    They put in a "Startup" folder.
    Why not a "Shutdown" folder too?
    Chuck
    Chuck
    秋音的爸爸

    Comment


    • #3
      Yeah there is, but I'll have to look around to dig up the info again. It will be a while.
      Gigabyte P35-DS3L with a Q6600, 2GB Kingston HyperX (after *3* bad pairs of Crucial Ballistix 1066), Galaxy 8800GT 512MB, SB X-Fi, some drives, and a Dell 2005fpw. Running WinXP.

      Comment


      • #4
        Can't do it in NT-based systems though.

        - Gurm
        The Internet - where men are men, women are men, and teenage girls are FBI agents!

        I'm the least you could do
        If only life were as easy as you
        I'm the least you could do, oh yeah
        If only life were as easy as you
        I would still get screwed

        Comment


        • #5
          Try this script just paste it in notepad and save it as exit.vbs. I use it to start defrag and when defrag finishes windows will shutdown. You can offcourse choose you're own program before shutting down .


          Option Explicit
          Dim objShell
          Set objShell=WScript.CreateObject("WScript.Shell")

          objShell.Run "c:\windows\defrag.exe /ALL /NOPROMPT",1,true
          objShell.Run "RunDll32.exe user.exe,ExitWindows"
          Main: Dual Xeon LV2.4Ghz@3.1Ghz | 3X21" | NVidia 6800 | 2Gb DDR | SCSI
          Second: Dual PIII 1GHz | 21" Monitor | G200MMS + Quadro 2 Pro | 512MB ECC SDRAM | SCSI
          Third: Apple G4 450Mhz | 21" Monitor | Radeon 8500 | 1,5Gb SDRAM | SCSI

          Comment


          • #6
            I'll give it a shot.
            Actually all I need to know whether windoze has been shut down properly rather than striaght off. Now windows does that so where does it store the info?
            Chief Lemon Buyer no more Linux sucks but not as much
            Weather nut and sad git.

            My Weather Page

            Comment


            • #7
              I´m not 100% sure I fully understand what your after, but if you want to make sure that all running processes are shutdown gracefully you can bypass the startmenu shutdown with a simple shortcut (on your desktop).

              make a shortcut with the command

              C:\WINDOWS\RUNDLL32.EXE shell32.dll,SHExitWindowsEx x


              where the x set to 0 will shut down all running proc. and log off, and set to 1 will shut down the system to a point where it is safe to turn power off.

              This is for win98.

              rubank

              Comment

              Working...
              X