Jump to content

How to know local drive or not?

Go to solution Solved by michaelslamet,

Recommended Posts

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 :)

Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...