Script/Task to map share to drive letter, then start services
Anyone know of a way to tell Windows to make sure a mapped drive exists for a share before starting certain services? If it's there, start them in a certain order. If not, map the drive first, then start them. If it ever fails try again and then if fails again, send an email and log an eventlog entry?
Our application requires a consistent path and everything is based on a drive letter.