Hi,
I'm trying to create a program on how to automatically shutdown my pc for a certain number of minutes. Well, actually i was able to make a very simple one by utilizing the shutdown.exe of windows. Now i'm trying to improve it by adding a function such that i can program my windows to automatically shutdown right after a process stops. Lets say for example i'm running a batch in windows and it's taking a long time to finish. What i want to happen is for windows to automatically shutdown after my batch process ends. Are there any ways i can do this in unix? because the code i made is, i think, a dos code.
example:
shutdown -s -f -t 3600 --> windows shutsdown after 1 hour
many thanks.
mickey