SUBJECT: Re: hide batch file content
Tom Lavedas <
[email protected]>...
^ There really is no way to do this with a batch file.
That statement may not be true. If you mean hide it so that no one can
possibly ever see it then I don't know. I haven't spent any time on it. But
you can hide the output so that it is not likely that anyone will know where
to look. There are two ways that I can think of off hand:
WAY 1:
Run the script on another desktop, one with a random name.
If the user is able to find out that there is a script running on another
desktop then the user must peer through a list of desktops and guess which it
may be. Windows does not come with a program that lists desktops (at least
not NT4 and prior) so one must be installed.
With each guess the user must then attempt to switch to that desktop to view
the script output. Windows (at least not NT4 and prior) does not come with a
desktop switching utility so one must be installed.
WAY 2:
Set the console window status to HIDDEN. If the user is able to find out that
there is a script running in a hidden console then the user must peer through
a list of windows and guess which it may be. Windows does not come with a
program that lists windows (at least not NT4 and prior) so one must be
installed.
With each guess the user must then attempt to set that window to NORMAL to
view the script output. Windows (at least not NT4 and prior) does not come
with a program that selectively sets a windows status so one must be
installed.
RELATED PROGRAMS:
Hide console windows:
<
http://fpw.static.pe.net:8080/freeware/showconsole.zip>
Run process on another desktop:
<
http://fpw.static.pe.net:8080/freeware/runprocess.zip>
Enumerate desktops:
<
http://fpw.static.pe.net:8080/freeware/enumdesks.zip>
Switch desktops:
<
http://fpw.static.pe.net:8080/freeware/desk.zip>
Frank