His method works on either the hd, or cdrom, where the %CD% only works on the cdrom. If it is only effective on the cdrom, then you might as well use %~d0 in your script. %cd% means current directory! It will give the path to where ever you call it from. It is universal. Please try things before saying it won't work as people browse this forum and take information as fact.