evtl. hilft Dir das weiter: http://www.jackmccarthy.com/malware/...e_Creation.htm


und anstelle von cd, gibt's auch noch:

Code:
pushd/
popd
z.B. pushd %0\..

Funktionieren genauso wie
Code:
cd
Dann gibt's ja auch noch die Laufvariablen:

echo %cd% [Pfad bis zum aktuellen Ordner]
echo "%~0" ["""""]