Advertising (This ad goes away for registered users. You can Login or Register)

Just a program I quickly made

Discuss Windows, Mac, or Linux Gaming (or other types of applications) here
Post Reply
KrazyNez
Posts: 3
Joined: Sat May 05, 2012 11:36 pm

Just a program I quickly made

Post by KrazyNez » Thu Dec 06, 2012 3:41 am

The code in this is probably horrible however it was fun to just quickly type up. It allows you via cmd (and now terminal) to Power Cycle your PC. Feel free to download it. Would love to have feed back. I haven't wrote a batch script until these ones. So like I said if you view it you will see its not so neat. But works great. Tested it many times.

UPDATED: Dec 14, 2012

LINK:
http://www.putlocker.com/file/C4DA79BF05202B98 (for Windows)
http://www.putlocker.com/file/E9A6174362455B4D (for Ubuntu distro) mined you im on 64-bit idk if works on 32-bit

EDIT: Now Fixed/Added even better error trapping. Now supports letters. Will now allow you to input them. Plus will not show error code when you do decide to input them. (shell script) now v1.1

Fixed re-run script

Added more visual effects

Added both hibernate and sleep mode. Changed name to Power Cycle for obvious reasons.

Added when asked if you are sure now says: Are you sure you want _ where _ is the letter(x)

Added spacing were felt it was needed.

Fixed when asked to "reboot" now says "restart"

Fixed/Added both 32-bit and 64-bit support. Will be like this from now on.

Now Added bash script for Ubuntu 12.04 (64-bit) untested on (32-bit) and other distros

Fixed/Added better error trapping. (shell script) Still need find away for letters not to give error.



Do what you wish to it. I know im going to do more.
Advertising

Post Reply

Return to “Games/Applications”