Index: base/shell/explorer/services/startup.c =================================================================== --- base/shell/explorer/services/startup.c (revision 55146) +++ base/shell/explorer/services/startup.c (working copy) @@ -387,7 +387,10 @@ continue; } - if ((res=runCmd(szCmdLine, NULL, bSynchronous, FALSE))==INVALID_RUNCMD_RETURN) + WCHAR szCmdLineExp[MAX_PATH+1]= L"\0"; + + ExpandEnvironmentStrings(szCmdLine, szCmdLineExp, sizeof(szCmdLineExp)); + if ((res=runCmd(szCmdLineExp, NULL, bSynchronous, FALSE))==INVALID_RUNCMD_RETURN) { printf("Error running cmd #%ld (%ld)\n", i, GetLastError()); }