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 


Need retrieve Execution file from ISP Connection ShortCut

 
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: Wed Oct 12, 2005 10:35 pm    Post subject: Need retrieve Execution file from ISP Connection ShortCut Reply with quote

Need retrieve the execution file from my ISP Connection desktop ShortCut

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Hi
Does anyone know how to retrieve the original EXE or RUN file of the Internet Connection Desktop Link .lnk file.

I've tryed with no success..

I need to be able to lauch my ISP dialup with my VDS program in order to re-enable my McAfee Virus scanner, I like it disabled when offline(my McAfee disabler prevents all those offline spammy popups from McAfee and helps PC run better offline).

Thanks in advance Smile
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


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

PostPosted: Wed Oct 12, 2005 10:48 pm    Post subject: Reply with quote

oh, I don't need the actual file itself, I just need its path and filename to be able to execute it from VDS with RUN or SHELL OPEN Wink
Back to top
View user's profile Send private message Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Thu Oct 13, 2005 2:59 am    Post subject: Reply with quote

This way works pretty easily in VDS 5.. just change the %%ConnectionName variable to whatever you named your connection.
If you don't know what you actually named it, you can find it under "Network Connections" in XP or "Dial-up Networking" in 9x.
Code:

LOADLIB Wininet.dll
%%ConnectionName = "<Connection Name Here>"
REM Pop up the connection dialog:
%%INTERNET_DIAL_FORCE_PROMPT = $02000
REM Dial without waiting on the user:
%%INTERNET_DIAL_UNATTENDED = $08000
%a = " "
%p = @LIB(wininet,InternetDialA,INT:,0,%%ConnectionName,%%INTERNET_DIAL_UNATTENDED,@ADDR("%a"),0)

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
vtol
Valued Contributor
Valued Contributor


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

PostPosted: Thu Oct 13, 2005 6:42 am    Post subject: Reply with quote

it only worked one time for some reason Crying or Very sad

Heres what I tried: (is this correct?)
Code:
:connectBUTTON
LOADLIB Wininet.dll
%%ConnectionName = "snail"
%%INTERNET_DIAL_FORCE_PROMPT = $02000
%%INTERNET_DIAL_UNATTENDED = $08000
%a = " "
%p = @LIB(wininet,InternetDialA,INT:,0,%%ConnectionName,%%INTERNET_DIAL_UNATTENDED,@ADDR("%a"),0)
goto evloop


Last edited by vtol on Thu Oct 13, 2005 7:22 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


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

PostPosted: Thu Oct 13, 2005 6:52 am    Post subject: Reply with quote

I tried it like this but I did'nt know where to put the force variable Question

Code:
:connectBUTTON
LOADLIB Wininet.dll
%%INTERNET_DIAL_FORCE_PROMPT = $02000
%a = " "
%p = @LIB(wininet,InternetDialA,INT:,0,snail,$08000,@ADDR("%a"),0)
goto evloop


Last edited by vtol on Thu Oct 13, 2005 7:21 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


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

PostPosted: Thu Oct 13, 2005 7:20 am    Post subject: Reply with quote

Heres the last way I tried it, no luck Sad

Code:
:connectBUTTON
LOADLIB Wininet.dll
%%ConnectionName = snail
%%INTERNET_DIAL_FORCE_PROMPT = $02000
%%INTERNET_DIAL_UNATTENDED = $08000
%a = " "
%p = @LIB(wininet,InternetDialA,INT:,0,%%ConnectionName,%%INTERNET_DIAL_UNATTENDED,@ADDR("%a"),0)
goto evloop
I have 2 connections by the way, snail is my default, and the other is a spammy freebee one, would that effect it Question
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


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

PostPosted: Thu Oct 13, 2005 8:19 am    Post subject: Reply with quote

Some reason this way seems to work everytime after a few reboots of trial and error, I like to manual dial anyways Smile
Well this seems a little better than my DOS way(it flickered a bit).
I'm using XP pro SP2 full version - seems like things would be easier Laughing .
Code:
:connectBUTTON
LOADLIB Wininet.dll
%%ConnectionName = snail
%%INTERNET_DIAL_FORCE_PROMPT = $02000
%%INTERNET_DIAL_UNATTENDED = 0
%a = " "
%p = @LIB(wininet,InternetDialA,INT:,0,%%ConnectionName,%%INTERNET_DIAL_UNATTENDED,@ADDR("%a"),0)
goto evloop


It may have been because I renamed my connection to snail while installing this code - I don't know for sure Wink

But any ways, thanks again SnarlingSheep, I was really stumped till you saved the day Very Happy

If you could write a book of all your VDS knowledge, it would sell Cool
Back to top
View user's profile Send private message Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Thu Oct 13, 2005 4:38 pm    Post subject: Reply with quote

Not sure why ya had a problem, but I should have mentioned that I put INTERNET_DIAL_FORCE_PROMPT in there just in case you didn't want it to automatically start dialing without you hitting "Connect."
_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
vtol
Valued Contributor
Valued Contributor


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

PostPosted: Mon Oct 17, 2005 8:26 am    Post subject: Reply with quote

I think it was because I had my Connector set at:
Me Only

I changed it to:
Anyone who uses this computer

That might have been the problem, not sure Rolling Eyes

Question:
Is they way I have the force dial parameter set at zero ok?
%%INTERNET_DIAL_UNATTENDED = 0

I just kinda tryed zero and it seems to work Rolling Eyes
Back to top
View user's profile Send private message Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Mon Oct 17, 2005 4:54 pm    Post subject: Reply with quote

Setting it to 0 will just make it use the default option, which I believe acts the same way as when you click your internet shortcut yourself.. If that's what you want, then its fine.
If you'd rather it just went ahead and dialed when you ran your script, you can set it back to $08000.

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
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