Want simple method to require somekind of selection to lau..

G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

Hello,

My daughter would like to keep her brother from launching a program. My
thought is to have a simple method to require a selection,hidden number or
even a real password to launch the executable. This does not have to be
complicated or technical. It does not have to be hard to crack or find out
how it works (at least for a couple of years until they get more computer
savy). It could be a simple batch file, vbscript, or something pre-made.

Here is a simple dos batch file that is ALMOST good enough. The reason it's
not good enough is the two choices will show directly below the menu. If
there is a way to NOT show the choices on the screen, then this simple
example would work. By not showing choice "2", the odds of finding out that
2 is the 'password' is slim since the assumption would be that the password
would be complicated.

SAMPLE.BAT
=========BEGIN SAMPLE BATCH FILE=========
@echo off
cls
:start
echo É�������������������������������»
echo º º
echo º Run program (enter password) º
echo º To Exit (type 1) º
echo º º
echo È�������������������������������¼
choice:/c12

if errorlevel 2 goto program
if errorlevel 1 goto exit

:program
cd\
cd progra~1\_progr~1\<continue path...>
<executable file name here>
GOTO start

:exit
cls
cd\
cls

=========END SAMPLE BATCH FILE=========
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

Why not put it in a pw protected .zip archive. The only difference is you don't
have to write the code. Double click the .zip, type in the pw and the file is
accessible. No pw, no access.

--

Brian Sesko
<>MS MVP<>Shell/User<>
Conflicts start where information lacks.
http://www.dts-l.org/goodpost.htm




"SSHO_99" <SSHO99@discussions.microsoft.com> wrote in message
news:3A1F1C59-11F3-45AD-AF09-C8230CC5A68F@microsoft.com...
> Hello,
>
> My daughter would like to keep her brother from launching a program. My
> thought is to have a simple method to require a selection,hidden number or
> even a real password to launch the executable. This does not have to be
> complicated or technical. It does not have to be hard to crack or find out
> how it works (at least for a couple of years until they get more computer
> savy). It could be a simple batch file, vbscript, or something pre-made.
>
> Here is a simple dos batch file that is ALMOST good enough. The reason it's
> not good enough is the two choices will show directly below the menu. If
> there is a way to NOT show the choices on the screen, then this simple
> example would work. By not showing choice "2", the odds of finding out that
> 2 is the 'password' is slim since the assumption would be that the password
> would be complicated.
>
> SAMPLE.BAT
> =========BEGIN SAMPLE BATCH FILE=========
> @echo off
> cls
> :start
> echo É�������������������������������»
> echo º º
> echo º Run program (enter password) º
> echo º To Exit (type 1) º
> echo º º
> echo È�������������������������������¼
> choice:/c12
>
> if errorlevel 2 goto program
> if errorlevel 1 goto exit
>
> :program
> cd\
> cd progra~1\_progr~1\<continue path...>
> <executable file name here>
> GOTO start
>
> :exit
> cls
> cd\
> cls
>
> =========END SAMPLE BATCH FILE=========
>
>
>
>
>
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

You might remove the shortcut from the
C:\WINDOWS\Start Menu\Programs folder and put it in another folder,
like Junk. D-clicking the shortcut should start the program.
Haven't tried it but it may do what you want.

Regards,

Bill Watt
Computer Help and Information http://home.epix.net/~bwatt/
__________________________________________________

On Sat, 2 Apr 2005 06:49:02 -0800, "SSHO_99"
<SSHO99@discussions.microsoft.com> wrote:

>Hello,
>
>My daughter would like to keep her brother from launching a program. My
>thought is to have a simple method to require a selection,hidden number or
>even a real password to launch the executable. This does not have to be
>complicated or technical. It does not have to be hard to crack or find out
>how it works (at least for a couple of years until they get more computer
>savy). It could be a simple batch file, vbscript, or something pre-made.
>
>Here is a simple dos batch file that is ALMOST good enough. The reason it's
>not good enough is the two choices will show directly below the menu. If
>there is a way to NOT show the choices on the screen, then this simple
>example would work. By not showing choice "2", the odds of finding out that
>2 is the 'password' is slim since the assumption would be that the password
>would be complicated.
>
>SAMPLE.BAT
>=========BEGIN SAMPLE BATCH FILE=========
>@echo off
>cls
>:start
>echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
>echo º º
>echo º Run program (enter password) º
>echo º To Exit (type 1) º
>echo º º
>echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
>choice:/c12
>
>if errorlevel 2 goto program
>if errorlevel 1 goto exit
>
>:program
>cd\
>cd progra~1\_progr~1\<continue path...>
><executable file name here>
>GOTO start
>
>:exit
>cls
>cd\
>cls
>
>=========END SAMPLE BATCH FILE=========
>
>
>
>