@@ -36,9 +36,9 @@ HANDLE hKey;
3636
3737#define __APP_VER__ "0.13.2"
3838#if defined(_M_AMD64 ) || defined(_AMD64_ )
39- #define __NCLI_VER__ __APP_VER__ "-alpha ( x64) "
39+ #define __NCLI_VER__ __APP_VER__ "-alpha x64"
4040#else
41- #define __NCLI_VER__ __APP_VER__ " ( x86) "
41+ #define __NCLI_VER__ __APP_VER__ " x86"
4242#endif
4343
4444WCHAR * helpstr [] =
@@ -168,8 +168,6 @@ RtlClipProcessMessage(PCHAR Command)
168168 //
169169 RtlInitUnicodeString (& CurrentDirectoryString , CurrentDirectory );
170170 RtlCliPrintString (& CurrentDirectoryString );
171-
172- RtlFreeUnicodeString (& CurrentDirectoryString );
173171 }
174172 else if (!_strnicmp (Command , "dir" , 3 ))
175173 {
@@ -343,21 +341,19 @@ RtlClipProcessMessage(PCHAR Command)
343341 RtlAnsiStringToUnicodeString (& us , & as , TRUE);
344342
345343 NtClose (hKeyboard );
346- //RtlCliDisplayString("Keyboard is closed\n");
347344
348345 CreateNativeProcess (filename , us .Buffer , & hProcess );
349346
350- RtlFreeAnsiString (& as );
351347 RtlFreeUnicodeString (& us );
352348
353- //RtlCliDisplayString("Waiting for process terminations\n");
354349 NtWaitForSingleObject (hProcess , FALSE, NULL );
355350
356351 RtlCliOpenInputDevice (& hKeyboard , KeyboardType );
357- //RtlCliDisplayString("Keyboard restored\n");
358352 } else
359353 {
360- RtlCliDisplayString ("%s not recognized\n" , Command );
354+ RtlCliDisplayString ("%s not recognized\n"
355+ "Add .exe if you want to lauch executable file."
356+ "\nType \"help\" for the list of commands.\n" , Command );
361357 }
362358 }
363359}
@@ -434,10 +430,7 @@ main(INT argc,
434430 //
435431 // Show banner
436432 //
437- RtlCliDisplayString ("Native Shell [Version " __NCLI_VER__ "] (" __DATE__ " " __TIME__ ")\n" );
438- RtlCliDisplayString ("(C) Copyright 2010-2025 amdf\n" );
439- RtlCliDisplayString ("(C) Copyright 2006 TinyKRNL Project\n\n" );
440- RtlCliDisplayString ("Type \"help\".\n\n" );
433+ RtlCliDisplayString ("Native Shell v" __NCLI_VER__ " (" __DATE__ " " __TIME__ ")\n\n" );
441434
442435 //
443436 // Setup keyboard input
0 commit comments