Wednesday, February 15, 2012

Filled Under:

How To Shutdown Your Pc by Drop Box Working Fine 100%


Hey guys
Boy is it a long time since I’ve posted here! Anyway, here is my latest release!
This is a Remote Shutdown. This simple batch file works with your Smartphone that will let you shutdown, logoff or restart your computer from anywhere in the world.
This file works with Dropbox. You will need a Data contract on your smartphone to use this. You can download Dropbox from Google and Dropbox mobile from the Appstore. I know it works on iPhone and Android, but I don’t know about Blackberrys because they are just shit.
Here are some screen-shots of my project:

[Image: 1.JPG]
[Image: 2.JPG]
Instructions
Download Dropbox on your PC and Smartphone.
Create an account and log into it from both your Phone and PC
Download the Remote Shutdown file from this thread
Place the Remote Shutdown in the public folder
Open it up and just leave it. You’re all set.
On your smartphone, go to the public folder.
Create a new TXT document and call it either
  • Shutdown.txt
  • Logoff.ttx
  • Restart.txt
Then save the file and go back to the public folder. The file will be uploaded and your PC will follow the command!
Download
You can download this file here:
Download
If you’re interested in the source code:
Code:
::-----------------::
:: Remote Shutdown ::
::    © Jackk      ::
::-----------------::
::::PROGRAM_LOAD::::
@echo off
color a
cls
::::MAIN::::
:Main
title Remote Shutdown - Waiting for signal from DropBox
cls
echo Waiting for a signal from the DropBox
if exist shutdown.txt goto Shutdown rem // This is shutdown
if exist logoff.txt goto Logoff rem // This is logoff
if exist restart.txt goto Restart rem // This is restart
goto Main rem // If non of the files above exist, then keep waiting
::::SHUTDOWN:::
:Shutdown
title Remote Shutdown - Shutdown signal received
cls
echo Shutdown signal received - Computer will shutdown in 10 Seconds
ping localhost -n 10 >nul
shutdown -s
del shutdown.txt
exit
::::LOGOFF::::
:Logoff
title Remote Shutdown - Logoff signal received
cls
echo Logoff signal received -  Computer will logoff in 10 Seconds
ping localhost -n 10 >nul
shutdown -l
del logoff.txt
exit
::::RESTART::::
:RESTART
title Remote Shutdown - Restart signal received
cls
echo Restart signal received - Computer will restart in 10 Seconds
ping localhost -n 10 >nul
shutdown -r
del restart.txt
exit
If you share this please don’t remove the copyright from the top. It’s there for a reason!

0 comments:

Post a Comment