Jump to content
Sign in to follow this  

Get key value/Map drive

Recommended Posts


Hi all. I want to put in a program a function that when i press any key, the function compare the key with my network drives. If the drive exists, then send the drive letter to a text box. :) Can someone help me? Thanks for any information. :)

Example: If i press "x" and if exists drive x: then send("x:"). My problem is to get the value of the key pressed, because can be any letter.

Edited by fxg4758

Share this post

Link to post
Share on other sites

Your post is kinda ... confusing ...

I have read it couple times and I cannot fully understand what you want.

Anyway - have a look at DriveGetDrive, GriveGetType and DriveMapGet ... also there are several more functions about drives.

Have a look at them and you'll be able to do what you want.

Good luck,

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.