one typo, I also added pauses to it as well...but:

4.66
Windows 10 Pro
S: Exists


0
The operation completed succesfully


still no mapped drive. I ran this:

 Code:
? @kix
? @producttype
if exist("S:\")
  ? "S: Exists"
  USE s: /delete /persistent
  ? @result
  ? @error
  ? @serror
  ? "press any key" GET$
endif
if not exist("S:\")
  ? "S: Does not Exist"
  ? "Mapping Drive"
  $Path="\\E500SRV2\SHARE"
  ? "press any key" GET$
  if exist($path)
    USE S: $path 
    ? @result
    ? @error
    ? @serror
    ? "press any key" GET$
  else
    ? "Path does not exist"
    ? "press any key" GET$
  endif
endif


Edited by vivithemage (2016-06-02 10:19 PM)