diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c index 16a0991e4fb..32511cf526c 100644 --- a/programs/cmd/wcmdmain.c +++ b/programs/cmd/wcmdmain.c @@ -118,6 +118,8 @@ int wmain (int argc, WCHAR *argvW[]) char ansiVersion[100]; CMD_LIST *toExecute = NULL; /* Commands left to be executed */ + srand(time(NULL)); + /* Pre initialize some messages */ strcpy(ansiVersion, PACKAGE_VERSION); MultiByteToWideChar(CP_ACP, 0, ansiVersion, -1, string, 1024);