hmm...
that shellExecute won't work.
but here is some code to try:
Code:

$shell=createobject("shell.application")
if @error
"error: " @error " - " @serror
exit 1
endif
$shell.shellexecute("c:\winnt\notepad.exe","c:\boot.ini /p","c:\temp",,1)


http://msdn.microsoft.com/library/en-us/...hellexecute.asp

but still.
this is not what he actually asked.
he asked how to change the directory, and answer to that is by CD.

then he said, how can he change directory without changing the directory.
blaah.
at that point he should think again what he is asking.
_________________________
!

download KiXnet