Jump to content

Add shutdown.


Recommended Posts


Posted

Add a shutdown script to what?

I really do hope you don't mean to the HFSLIP script!

I cannot see any reason why even a sizable minority of end users would feel the need to automatically shutdown their PC after having created an installation source.

Posted

Well, I am computer technician and I can develop the project at night and go to sleep, it would at least for me very useful script shutdown. I could use a third party application?

Posted

You're a computer tech who doesn't know how to make a script to turn off a computer after a program is executed? Tell me, are you using hfslip for personal use?

Posted (edited)

I know how to command, but I do not integrate them with your project. If possible. I am beginner and I think the script really complicated and I'm afraid of making mistakes. Yes I am one of the updates to customers. I learned in Forums have little or match any knowledge in programming languages. And for personal use as well.

Edited by AJARBAS
Posted

Well in that case, (as you're a tech you should know this), the logical fix for that particular scenario would be this.

HFShut.cmd

@CALL HFSLIP-1.7.9.CMD
@SHUTDOWN /S /T 30

This method would mean that you could ignore opening the script and changing it needlessly!

Posted
Well in that case, (as you're a tech you should know this), the logical fix for that particular scenario would be this.

HFShut.cmd

@CALL HFSLIP-1.7.9.CMD
@SHUTDOWN /S /T 30

This method would mean that you could ignore opening the script and changing it needlessly!

Thanks :thumbup

Posted (edited)

LAWL, I'm a tech too, here is a Scheduled Task to run Yzöwl's script at 11PM tonight, we techs gotta stick together. Now you don't even need to be at the computer to start the darn thing.

SCHTASKS /create /tn "HFShut" /tr c:\HFShut.cmd /sc once /sd 11/18/2009 /st 23:00

Edited by MrJinje
Posted (edited)

Plus, the process takes about 10 minutes, you REALLY can't wait ten minutes for the script to finish and then turn off your PC manually?

btw, none of your options will workm because you have to press a key after hfslip finishes. if you don't, it will NEVER get to the shutdown command, unless you modify the script to skip that "press any key..." part.

'nuff said!

Edited by jvidal
Posted (edited)
LAWL, I'm a tech too, here is a Scheduled Task to run Yzöwl's script at 11PM tonight, we techs gotta stick together. Now you don't even need to be at the computer to start the darn thing.

SCHTASKS /create /tn "HFShut" /tr c:HFShut.cmd /sc once /sd 11/18/2009 /st 23:00

If I make this script it sets the task scheduler of windows. And the patch initializes the time I determine?

Sorry for my ignorance.

Thanks

<Edit />

Plus, the process takes about 10 minutes, you REALLY can't wait ten minutes for the script to finish and then turn off your PC manually?

btw, none of your options will workm because you have to press a key after hfslip finishes. if you don't, it will NEVER get to the shutdown command, unless you modify the script to skip that "press any key..." part.

'nuff said!

Sorry my friend. my computer takes about one hour. How do I close the prompt and continue the command off.

Edited by Yzöwl
Posted
If I make this script it sets the task scheduler of windows. And the patch initializes the time I determine?
Pretty much. Assuming you remove the snip that other guy mentioned. Find more details on ss64's - Schtasks page

Thanks :rolleyes:

Posted

Another option... check out step 9 of hfslip advanced. When running a post-cmd, you can run a command that is parsed just before the ISO is created. So, if your iso takes 40 seconds to create, then when doing a shutdown cmd, make sure you allow enough countdown time for the iso to create before the system shuts down. There ya go. It's already there. I guess you can config it to make your PC text message your cell so you know when the iso is ready too. The options are endless. :)

Posted
Well, I am computer technician and I can develop the project at night and go to sleep
A night worker who sleeps on the job! :P

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...