Jump to content
Sign in to follow this  

A little Problem with a script

Recommended Posts

i was trying to write a script that would lock a drive ( created through subst ) when a SD card would be removed.. This sd card is not however the drive to be locked .

Since i am running a process every 5 secs to check whether the card is in or not and accordingly encrypt and lock the drive .. then when the card is inserted again its decrypted and unlocked and mounted again . The process however can easily be deleted so i tried something like this

If ( @OSTYPE = "WIN32_NT" ) then;

to like hide the process .. Its nt working ... Is there any other way out / what am i doing wrong ? :graduated:

please help :(

Edited by DarkAngel

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...