SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2000
    Posts
    48
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    need to reboot local Nt 4 mashine after running my script.

    On win2k, i could simply instruct silktest to click on start and reboot manually. The script would end before win2k actually started the reboot sequence. Nt however starts the reboot seguence immediately and actually tries to shut down all open programs. Silk won't let itself get shutdown while it is still running a script. What I need is just some way to reboot Nt right at the end of my script. I think the only way to do this is let silktest call an executable at the end of the script. This excecutable should wait for 2 or 3 seconds and then start the reboot sequence. How can I create such an executable?
    Konrad Nau
    Software Test Automation Specialist Intern
    CQOS INC.

  2. #2
    Senior Member
    Join Date
    Dec 1999
    Location
    Sarasota FL USA
    Posts
    109
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: need to reboot local Nt 4 mashine after running my script.

    There is a call to the Windows API that will allow the system to be re-booted. All that you need to do is create a simple C application that will take a command line option to set the wait timer, or default to 15 seconds. After the time is up, make the call to the API to reboot.

  3. #3
    Member
    Join Date
    Sep 2000
    Posts
    48
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: need to reboot local Nt 4 mashine after running my script.

    thx tlvranas
    , but where can i look up that api call. I am not too familiar with windows api calls in general. Is it just a command that you can enter into the command prompt of Windows nt 4 or is it a C command?
    Konrad Nau
    Software Test Automation Specialist Intern
    CQOS INC.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:11 PM.

Copyright BetaSoft Inc.