diff --git a/base/applications/network/netsh/interpreter.c b/base/applications/network/netsh/interpreter.c index f4f23d34e6d..35bb3a443a5 100644 --- a/base/applications/network/netsh/interpreter.c +++ b/base/applications/network/netsh/interpreter.c @@ -213,6 +213,16 @@ InterpretCommand( else ConPrintf(StdOut, L"Command: %s Error: %lu\n\n", pCommand->pwszCmdToken, dwError); } + else + { + /* Execute the commands following a pushd command */ + if ((_wcsicmp(pCommand->pwszCmdToken, L"pushd") == 0) && + (dwArgIndex < dwArgCount)) + { + State = STATE_ANALYZE; + break; + } + } } State = STATE_DONE;