you might be able to attack you problem by code like this:
early in you do file, define the drive:
local drive=cond("$S_OS"=="Windows","C:",":C")
..then later code:
use `drive'`c(dirsep)'stata`c(dirsep)'auto, clear
As Alan points out, changing dirsep is not necessary (nor desirable).
The colon separator is left over from pre-OS X Macs. OS X Macs are Unix
machines, so you can always refer to a directory with forward slashes,
e.g. /Applications/Stata/auto.dta will refer to the Stata home
directory: