Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 12th, 2006, 3:41 PM   #1
NightShade01
Programmer
 
Join Date: Oct 2005
Posts: 52
Rep Power: 3 NightShade01 is on a distinguished road
App within an App

Is it possible to run everything from a command line perspective? Like lets say i want to make a console application that when someone click on the .exe it will run spybot. that i understand how to do b/c spybot has command line functins built in. but what if i wanted the same to occur with lets say ad aware? how would i write code so that ad aware launchs, scans, cleans, and then exits without any user interaction? is this possible?
NightShade01 is offline   Reply With Quote
Old Aug 12th, 2006, 5:02 PM   #2
AntiNinja
Hobbyist Programmer
 
AntiNinja's Avatar
 
Join Date: Jun 2006
Location: The States
Posts: 101
Rep Power: 3 AntiNinja is on a distinguished road
Send a message via AIM to AntiNinja Send a message via Yahoo to AntiNinja
Go do some research and see if you can use ad-aware through command line, I doubt it, but if not just use mouse clicks maybe? Just click once then minimize it until its done.
__________________
Pain is just weakness leaving the body.
AntiNinja is offline   Reply With Quote
Old Aug 12th, 2006, 5:23 PM   #3
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
There are libraries that will allow you to emulate mouse clicks. Go research that (even though it's quite a crappy solution)
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials.
--WilliamSChips on Slashdot
uman is offline   Reply With Quote
Old Aug 13th, 2006, 2:15 AM   #4
Samuaijack
Programmer
 
Samuaijack's Avatar
 
Join Date: Jul 2006
Location: using Earth.Africa.Egypt.Cairo;
Posts: 73
Rep Power: 3 Samuaijack is on a distinguished road
Quote:
even though it's quite a crappy solution
agree.
but i think its not possible to open a Windows program and run every option in it from the command line.
Samuaijack is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:04 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC