I have a database. (split into front and backend)
Users are instructed to run this from their C: hard drive OR from a flash drive, then back up to their folder on the network (always mapped as Y:)
I would like to BLOCK the run, if it is over the network. It slows down for the user, and for everyone else on the network.
What code can I insert to check the drive on the path. (so.. I don't want it to run off the Y: drive.. I DO want it to run off the C: drive.. OR.. off the users E:, F: or whatever other path their flash drive connects as.