Sign in to follow this  
Followers 0
anyday

finding a drive letter

3 posts in this topic

hey guys i searched for this a bit and couldnt find anything on it. i have a program im trying to automate the install. the default install location for the program is the root of C:. since i have scsi drives, my windows is not installed on to c: i have finished the script except for the setup screen that ask's where to install the application, im needing to find out an easy way for the script to find out which drive windows is installed and then i could setup an install point off of that.

thanks

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

@WindowsDir or for just the drive StringLeft(@WindowsDir,1)

Edited by c0deWorm

My UDFs: ExitCodes

Share this post


Link to post
Share on other sites

thx working great

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  
Followers 0