how I change dir in dos

Hi

I have a dos batch file in window server where I call a cmd command for creating some db.
this cmd commad is located in e:\data\abcd\xyz.cmd.

Now I call this batch file from unix ssh.sh but my access point is D in window server here I want to change the dos prompt to e:\data\abcd.
in xyz.bat.

here is my batch file

regards

JAmil

SETLOCAL

set DateStr=%~2&if "%~2"=="" set DateStr=%date%
for /f "skip=1 tokens=2-4 delims=(-)" %%a in ('"echo.|date"') do (
for /f "tokens=1-3 delims=/.- " %%A in ("%DateStr:* =%") do (
set %%a=%%A&set %%b=%%B&set %%c=%%C))
rem set /a "yy=10000%yy% %%10000,mm=100%mm% %% 100,dd=100%dd% %% 100"

set filename=%yy%%mm% %dd%
echo.%filename%

Cd E:
cd \data
cd E:\data\local-ch-da

E:\data\local-ch-da\start_local-CH-DA_cablecom.cmd %yy%%mm% %dd%

endlocal

DOS does not think of C: D: etc as directories. They are "drives". To change drives you just do:
D:
So a pair of commands like:
D:
cd \data
might be needed.

you mean
i write just e: in dos bat file it change the directory.

from doller prompt i call a bat file
ssh user@connection e:\data\abc.bat
and in this batch I want to change the directory to e: because i get d: as default prompt.

abc.bat like this
e:
cd \data
start_xzy.cmd

Again, e: is a drive. e: is not a directory. To change your drive to e you need a line in your bat file that looks exactly like this:
e: