michaelslamet Posted June 7, 2013 Posted June 7, 2013 If user input filepath+filename, how could we know that is a local drive or not (maybe network drive)? If user input "servernameshare-namefilename.exe" then we know the file is on network drive, but what if he input "H:filename.exe"? Can I assume local drive is only C: D: and E: ? Or is there any function some thing like _IsLocalDrive to verify is a file is on local drive or in network drive? Thanks
Solution michaelslamet Posted June 7, 2013 Author Solution Posted June 7, 2013 Answering my own post, seems like I can use DriveGetType Thanks for reading this post!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now