Sign in with
Sign up | Sign in
Your question

Program that speeds up comuter

Tags:
  • Business Computing
Last response: in Business Computing
Share
November 22, 2013 7:17:41 AM

I created a program that pretty much spees up your computer in any way possible, only issue is it runs in DOS mode. Could I give it a GUI? could I make a VB code that runs the program invisibly in the backgrond while giving status reports? If so, how? I am new to VB and .NET.

More about : program speeds comuter

November 22, 2013 7:20:13 AM

By the way, this code was written in batch and c.
I decided to paste the batch portion here
@echo off
Title Requesting Elevated Session
@echo off
:: BatchGotAdmin
:-------------------------------------
REM --> Check for permissions
::p rompt the admin elevation window
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"=""
echo UAC.ShellExecute "%~s0", "%params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
exit /B
:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"
:--------------------------------------
Title Booting Information...
Echo Booting Information
systeminfo |find "Available Physical Memory"
pause
@echo off
:home
echo Booting...
@echo off
@echo off
Title SpeedFreak
echo SoDDO SpeadFreak
echo Version 0.3
::updated
cls
Title SpeedFreak by SoDDO
Echo.

echo.
echo SpeedFreak 1.2 BETA
echo.
echo Select action:
echo ==============
echo.
:: this isn't the menu, it is static display. this displays the menu options to the user.
echo 1) Full Optomization (Recomended)
echo 2) Defragment Disk
echo 3) Refresh temp folder
echo 4) Reduce unnecessary Registry folders
echo 5) ReadyBoost Cache
echo 6) Exit
echo.
set /p web=Type option:
if "%web%"=="1" goto optim
if "%web%"=="2" goto defrag
if "%web%"=="3" goto cleanup
if "%web%"=="4" goto ramref
if "%web%"=="5" exit
Goto home
:readbo
echo Set UAC = CreateObject^("Shell.Application"^) > "S:\Readyboost.sfcache"
goto home
::o ptim label performs all tasks.
::static loading message
echo preparing drive...
defrag.exe C: -w
:: Defrag the disk, command opens the process in cmd.
%windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
echo Removing Temp-files from c:\windows\temp
cd\
cd\windows\temp
Del *.tmp /Q
Pause
goto home
:D efrag
echo Preparing Drive...
defrag.exe C: -w
goto home
:ramref
echo Preparing drive...
@echo on
%windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
echo RAM cache cleaned
goto home
:cleanup
echo Removing Temp-files from c:\windows\temp
cd\
cd\windows\temp
Del *.tmp /Q
Pause
goto home

m
0
l
Related resources
!