forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


can VDS GET last CMD ran in windows & what prog ran it?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Sun Sep 25, 2005 10:32 pm    Post subject: can VDS GET last CMD ran in windows & what prog ran it? Reply with quote

Can VDS and (or with some DLL/DSU) GET the last CMD ran in windows and find out what what program ran it?

Thanks
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Sep 26, 2005 11:24 pm    Post subject: Reply with quote

Hmmm,
I have never heard of anyone wanting to do this so I don't think there is a way? Also what exactly do you mean by 'CMD'? Are you talking about the command window?

I guess the only true way that you could possibly find this out is to look at setting a System global message hook but I don't think that VDS can do this.

The only other way I can think of is to use the TaskList in VDS. Put the list in a tight loop and ignore the WM_QUIT or WM_CLOSE messages. Wait until the TaskList has 2 tasks listed and when it does then one task will be your program and the other will prob. be progman.exe since it keeps your desktop alive. After you program and progman closes I would imagine that the different services will start shutting down.

Note messing with the boot process and shutdown process of Windows can cause system coruption if your don't take care.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Sep 27, 2005 5:39 pm    Post subject: Reply with quote

Hi
As ar as CMD, I meant command.
What I got is sometimes when I'm connected to the internet(dial-up) something disconnects it, thinking maybe its a spammy demo program I have installed and want to uninstall it.
Thanks for all your help Very Happy
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group