@ECHO OFF
prompt = $e[30;46;2m[$w]$e[40;36;1m$s[$t$h$h$h]#$e[40;37;2m$s
alias /R "c:\Users\Ville\My Documents\TCMD\aliases.tcmd"
path %path;%ProgramFiles(x86)\bind\
set startcommand=%@pidcommand[%_PPID]
set startdir=%@TRIM[%@word[2,%startcommand]]
msgbox ok "startcomand" startcommand is '%startcommand'
msgbox ok "startdir" startdir is '%startdir'
if %startdir == "" cdd desk:
cdd /to .
cls