[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 131
  • Last Modified:

Prevent software being loaded 225 POINTS !

Hello There,
Would like some working code which would show me how to prevent software from being installed on my computer via the CD and A: drives while in windows 95. Using visual 5.0

Thanks, feel free to comment !
ssi49
0
ssi49
Asked:
ssi49
1 Solution
 
headerCommented:
Unplug the drives and remove them from your computer.
0
 
mcriderCommented:
Here's an old, old trick...

shell "subst a: c:\windows\temp"

Your A drive will no longer be accessable until you delete the subst.

You can do the same thing with your CD Drive...

Cheers!

0
 
mcriderCommented:
by the way, to delete the subst, use:

shell "subst a: /d"


Cheers!
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
KDivadCommented:
Oh, GOD, that IS old! But very, very simple and 99% effective. To install something, they would have to put it in the temp folder from the drive. To get it from the drive to the temp folder, it would already have to be in the temp folder. If someone really, REALLY wanted to install something, they could always use some sort of computer link to download it (LAN, Net, DCC, etc.) but who's that desperate?

Later,
0
 
ssi49Author Commented:
mcrider,
   Old or not, I like it ! You be da man!
Thank You!
ssi49
0
 
mcriderCommented:
By the way, If you really want to keep people from undoing your SUBST, rename the command to something else... That way, only you can delete the SUBST.

Cheers!
0
 
ssi49Author Commented:
mcrider,
Your last comment caught my eye. How would i rename the command as you suggested ? I only have 5 points left but your are welcome to them !
Thanks
ssi49
0
 
mcriderCommented:
Just go to the WINDOWS\COMMAND direrctory and rename the SUBST.EXE command to something else... In a DOS window, for example:

CD C:\WINDOWS\COMMAND
RENAME SUBST.EXE SETDRIVE.EXE

Then in your program, do:

shell "setdrive a: c:\windows\temp"


Cheers!


By the way, if you want to give points to me for this answer, just open a new question with the title "FOR MCRIDER ONLY" and I will answer it...


0
 
ssi49Author Commented:
mcrider,
I figured out the question while waiting for you to answer. Finally did something right. (not)
I will award you the points in the morning. I used them for something else while waiting. How is that for honesty ?
Thanks Again and for waiting for your points!
ssi49
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Tackle projects and never again get stuck behind a technical roadblock.
Join Now