Launching URL when clicking close in a cmd window

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
stiphen
Posts: 2
Joined: 31 Mar 2014 12:49

Launching URL when clicking close in a cmd window

#1 Post by stiphen » 31 Mar 2014 13:02

Hi to all

my first post .. Hope I will get appropriate help

I have batch file which I have converted into an exe. the reason for converting batch file to exe was to project a batch script .. I actually wanted to keep my script hidden .. but when ever I launch my exe. on every execution it extracts batch script into temp directory .. is there any way to stop extraction of the same so that my script should not copied ..

Squashman
Expert
Posts: 4471
Joined: 23 Dec 2011 13:59

Re: batch script releated

#2 Post by Squashman » 31 Mar 2014 13:35

You aren't the first and probably will never be the last person to try and do this.
short answer = NO

stiphen
Posts: 2
Joined: 31 Mar 2014 12:49

Re: batch script releated

#3 Post by stiphen » 01 Apr 2014 20:31

OK This is confirmed that it is impossible I have another question related batch only

is it possible to redirect the url when batch file is closed by hitting X [close button] like the image

Image

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: batch script releated

#4 Post by foxidrive » 01 Apr 2014 21:06

I think the answer is no. You can't fire off a task on a close button click.

aGerman
Expert
Posts: 4654
Joined: 22 Jan 2010 18:01
Location: Germany

Re: batch script releated

#5 Post by aGerman » 02 Apr 2014 11:17

is it possible to redirect the url when batch file is closed by hitting X [close button

What's the point behind this concept?

Regards
aGerman

Post Reply