If you are using your RaspberryPi / RetroPie and you would like an easy way to reboot from your computer you can easily write the following command to a Windows bat script.
If you prefer you can skip all this and download the already assembled BAT file below.
Step 1. Open up a note pad copy the commands below.
plink -ssh -l pi -pw raspberry retropie sudo reboot exit
Step 2. Click on File -> Save As (Be sure under Save as type you choose “All Files“) so it does not save as a .TXT document.
Step 3. Now you can simply double click the bat file and I believe it will Reboot all RaspberryPi’s connected to your network.
Another Windows batch file I wrote up that will delete all folders and files with (SAMPLE) in the file or folder name.
Please note you can download the full .bat file below.
'On Error Resume Next Set objFSO = CreateObject("Scripting.FileSystemObject") ShowSubFolders objFSO.GetFolder("E:") Sub ShowSubFolders(Folder) For Each file In Folder.Files Set objCurFile = objFSO.GetFile(file) If Instr(ucase(objCurFile.Name), UCase("sample")) Then objCurFile.Delete On Error Resume Next For Each Subfolder in Folder.SubFolders ShowSubFolders Subfolder Next End Sub