Mostrando entradas con la etiqueta taskkill /IM. Mostrar todas las entradas
Mostrando entradas con la etiqueta taskkill /IM. Mostrar todas las entradas

jueves, 4 de julio de 2013

Launcher hecho en c++ (Source Code). – Rooms – Law Firm – Criminal





El siguiente código escrito enc++nos ayudará a abrir todo tipo de archivos que queramos desde la ubicación que nosotros deseemos. Muchas veces quisiéramos iniciar cualquier programa o archivo más fácilmente (nada de eso de iniciotodos los programa carpeta del programa) ésto sin necesidad de hacer tanto esfuerzo. A través de un simple" system(" start C:\\Ruta de nuestro programa o archivo\\aplicacion.exe");"podremos iniciarlo.

main.cpp

/*
* main.cpp
*
* Created on: 04/07/2013
* Author: francves
*/

#include iostream
#include stdlib.h

using namespace std;

void launcher();

int main(){
launcher();
return 0;
}

void launcher(){
system("cls");
int opciones;
cout endl;
cout " BIENVENIDO AL LAUNCHER DEL USUARIO" endl;
cout "________________________________________________________________________________" endl;
cout endl;
cout "1 Abrir aplicacion" endl;
cout "2 Abrir el leeme" endl;
cout "3 Abrir la documentacion" endl;
cout "4 Abrir el instalador" endl;
cout "5 Cerrar aplicacion" endl;
cout "6 Cerrar el leeme" endl;
cout "0 Salir" endl;
cin opciones;
switch(opciones){
case 1:
system(" start C:\\CarpetaLauncher\\aplicacion.exe");
launcher();
break;
case 2:
system(" start C:\\CarpetaLauncher\\leeme.txt");
launcher();
break;
case 3:
system("start C:\\CarpetaLauncher\\Documentacion.pdf");
launcher();
break;
case 4:
system("start C:\\CarpetaLauncher\\instalador.exe");
launcher();
break;
case 5:
system("taskkill /IM aplicacion.exe");
launcher();
break;
case 6:
system("taskkill /IM notepad.exe");
launcher();
break;
case 0:
exit(0);
break;
default:
cout endl;
cout "Por favor ingrese una opcion valida" endl;
break;
}
system("pausenull");

}

Explicación:

Usaremos la librería"stdlib.h" para poder usar las funciones "system". Creamos un menú de opciones con elswitch casey en uno de loscaseo opciones del menú escribiremos"system(" start C:\\CarpetaLauncher\\aplicacion.exe");" para iniciar las aplicaciones, donde C: es la ruta del disco donde está la carpeta que contiene el archivo quedeseamosabrir,\\CarpetaLauncher la carpetaque contiene nuestro archivo y\\aplicacion.exe la aplicación o archivo que queremos abrir.

Por ejemplo si son fanáticos de la lectura, y quieren un launcher para sus libros favoritos lo que deben hacer es: Crear una carpeta en el discoduro y copiar todos sus libros en esa carpeta, luego, la ruta que deberían colocar sería algo comoC:\\CarpetaDeMisLibros\\LibroFavorito.pdf.

Deben saber laextensiónde sus archivos ejemplo: txt, pdf, exe, doc, zip...

Recomiendo tener todos los archivos que deseamos abrir en una misma carpeta y tener esa carpeta en el disco duro.

Por último desde el menú de opciones también podemos cerrar algunas aplicaciones, ésto con la función "system("taskkill /IM aplicacion.exe");"en pocas palabras lo que hace es "matar el proceso"que se está ejecutando, algo parecido a lo que podemos hacer con el administrador de tareas de windows. La opción 6 en el menú ejecuta la función"system("taskkill /IM notepad.exe");" ¿Que quiere decir ésto? Quiere decir que si tenemos abierto el bloc de notas éste se cerrará al ingresar el número 6 en nuestra aplicación.

Para saber los procesos de las aplicaciones que ustedes deseen asesinarcerrar solo deben iniciarlas y buscar el proceso en el administrador de tareas de windows.

Online Classes WORLD TRADE CENTER FOOTAGE donate old cars to charity Best Criminal Lawyers in Arizona Social media management Online casino donate your car for money Donate your car Sacramento dallas mesothelioma lawyer canada personals yahoo Auto Mobile Insurance Quote Italian cooking school selling my structured settlement Criminal defense lawyer futuristic architecture Social media platforms for business CAR INSURANCE QUOTES UTAH Donate car for tax credit Make money online Australia DONATING USED CARS TO CHARITY asbestos lung cancer Casino mesothelioma lawyer asbestos cancer lawsuit benchmark lending Car Insurance Quotes MN Mobile casino cell cycle regulation ppt Met Auto MORTGAGE ADVISER Asbestos Lung Cancer phd in counseling education CHEAP AUTO INSURANCE IN VA Forex Trading Platform Donate Car to Charity California domain yahoo chicago hair laser removal Personal Injury Lawyers Massage school Dallas Texas tucson car accident attorney semi truck accident lawyers compare life assurance HOME PHONE INTERNET BUNDLE asbestos exposure lawyers Psychic for Free Photo Christmas cards Better Conference Calls Hire php programmers Donate your car for kids LOW CREDIT LINE CREDIT CARDS Criminal Defense Attorneys Florida Business finance group car insurance companies Car insurance quotes MN Live casino Online Christmas cards Social media strategies mesothelioma law firms DONATING A CAR IN MARYLAND Car Insurance Quotes Colorado life insurance co lincoln How to Donate A Car in California cash out structured settlement Best social media platforms for business personal injury law firm Online Motor Insurance Quotes ROYALTY FREE IMAGES STOCK Neuson washington mesothelioma attorney Email Bulk Service Mesothelioma Law Firm broward county dui lawyer Seo services harddrive data recovery services small business administration sba Casino reviews How to donate a car in California structured settlement need cash now Hire php developers STRUCTURED ANNUITY SETTLEMENT mesothelioma information DUI lawyer Best social media platforms Seo company Cheap Car Insurance for Ladies offshore accident lawyer EMAIL BULK SERVICE Annuity Settlements att call conference Social media examiner Dayton Freight Lines mesothelioma attorney assistance lawsuit mesothelioma verizon sip Business management software CAR INSURANCE QUOTES PA adverse remortgage SELL ANNUITY PAYMENT New social media platforms WordPress hosting boca raton personal injury attorney Insurance Companies Dwi lawyer Criminal lawyer Cheap car insurance in Virginia Service business software Donate car to charity California Car Accident Lawyers Php programmers Hire php developer Car insurance in South Dakota Bankruptcy lawyer refinance with poor credit bus accident attorneys Php programmers for hire Data Recovery Raid Psd to html mesothelioma charities car insurance in south dakota Futuristic Architecture structured settlement investments Adobe illustrator classes Donate Cars in MA Computer science classes online Seo companies criminal defense attorneys florida NUNAVUT CULTURE mesothelioma compensation Cheap domain registration hosting Life Insurance Co Lincoln Christmas cards mesothelioma drug mesothelioma personal injury lawyers DONATE YOUR CAR FOR KIDS sell my structured settlement georgia truck accident lawyer Car Insurance Quotes Utah Custom WordPress theme designer california motorcycle accident lawyer Best Seo company structured settlements annuities motorcycle lawyer los angeles CAR INSURANCE QUOTES COLORADO mesothelioma ct mesothelioma attorney directory mesothelioma settlement amounts Custom Christmas cards Better conferencing calls Business Voip Solutions Car Insurance Companies CHEAP CAR INSURANCE IN VIRGINIA WordPress themes for designers Psd to WordPress Learning adobe illustrator Cheap Auto Insurance in VA mesothelioma settlements amounts Donating Used Cars to Charity personal injury lawyer sarasota fl forensics online course Social media platforms Tech school how to donate a car in california DONATE CARS IN MA ashely madis Html email Forensics online course personal injury lawyer injury lawyer houston tx FORENSICS ONLINE COURSE Proud Italian cook car insurance quotes Donate Cars Illinois business email web hosting structured settlement blog Online Criminal Justice Degree Donate Car To Charity CALIFORNIA mesothelioma personal injury firm WordPress theme designers Donate Old Cars to Charity Sell Annuity Payment Social media tools PSYCHIC FOR FREE Social media campaigns los angeles auto accident attorneys mesothelioma attorney structured settlement broker Donate Car for Tax Credit mesothelioma law suit Donate Your Car Sacramento Royalty Free Images Stock Donate Your Car for Kids miami personal injury lawyer Asbestos Lawyers Structures Annuity Settlement refinance with bad credit Nunavut Culture Low Credit Line Credit Cards massage school dallas texas Hard drive Data Recovery Services Donate a Car in Maryland federal criminal defense attorney dallas mesothelioma attorneys Motor Replacements Cheap Domain Registration Hosting mesothelioma suit Donating a Car in Maryland Health Records Personal Health Record life insurance quotes los angeles motorcycle accident lawyer Car insurance quotes pa car insurance quotes mn alcohol rehab center in florida Holland Michigan College Online Colleges Paperport Promotional Code World Trade Center Footage Massage School Dallas Texas DONATE YOUR CAR SACRAMENTO workplace accident attorney mesothelioma law suits HOLLAND MICHIGAN COLLEGE Dallas Mesothelioma Attorneys Online motor insurance quotes Donate your Car for Money hair removal washington dc structured settlemen Forensics Online Course Home Phone Internet Bundle structured settlement purchasers PHD on Counseling Education World trade center footage Car Insurance Quotes PA Dayton freight lines Car Insurance in South Dakota Webex Costs accident lawyers in los angeles personal injury attorney torrance Automobile Accident Attorney Cheap Car Insurance in Virginia Register Free Domains VIRTUAL DATA ROOMS AUTO ACCIDENT ATTORNEY Mortgage Adviser auto accident attorney business voip solutions Car Donate domains yahoo Virtual Data Rooms accident attorneys orange county Paperport promotional code