0

I have a bat script which runs a service from given location (taken as input). But the issue is that service is unable to run from mapped drive. Is there a way to check that input drive is not a drive mapped to a network location?

I cannot follow the solution posted here as this suggests mapping a drive in different way might solve the issue. But in my case I just want to show error message if input drive (location) is a mapped drive.

  • 1
    check that input drive is not a drive mapped to a network location Check it is absent in net use output... – Akina Aug 9 at 6:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.