08-30-2011, 12:40 PM
(This post was last modified: 08-30-2011, 12:42 PM by AceInfinity.)
Here's another interesting code I put together, It's really simple, it logs all of your running tasks, and creates a temp text file that it opens before removing that text file so that there's no trace of it on your system. The purpose of this was only to display it in notepad, but have it nowhere saved on your computer hard drive. Of course you can save it later if you want, since you have the information opened in notepad after running this.
Create a batch file with this code:
Now to hide the console and everything that you might not want to see, I've called it with a vbs script:
If you want to make it look even fancier, keep both of these files in your program files directory in a folder of their own. They MUST be together though; within the same directory.
Then create a shortcut to the vbs script on your desktop or something. Done, now you can change the icon of your vbs script SHORTCUT, and it looks a little more tidy.
Create a batch file with this code:
Code:
@echo off
title Ace's Tasklist Logger
tasklist > Running_Tasklist.txt
start Notepad.exe Running_Tasklist.txt
ping -n 2 127.0.0.1 >nul
del /s /f /q Running_Tasklist.txt
exit
Now to hide the console and everything that you might not want to see, I've called it with a vbs script:
Code:
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run "Tasklist_.bat", 0
Set WinScriptHost = Nothing
If you want to make it look even fancier, keep both of these files in your program files directory in a folder of their own. They MUST be together though; within the same directory.
Then create a shortcut to the vbs script on your desktop or something. Done, now you can change the icon of your vbs script SHORTCUT, and it looks a little more tidy.