@nandanagopan: Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.21.5
Error message:
The system cannot find the file specified.
Stack trace:
(0022534B) Vcl::Graphics::_16680
(0022542B) Vcl::Graphics::_16682
(00225C12) Vcl::Graphics::_16697
(00225FF8) Vcl::Graphics::_16700
(0022CBAB) Vcl::Graphics::TIcon::HandleNeeded
(00E9A58A) FixFormIcons
(00E27A75) ShowEditorForm
(0001394E) TCustomScpExplorerForm::CustomExecuteFile
(00015879) TCustomScpExplorerForm::ExecuteFile
(00015BA2) TCustomScpExplorerForm::ExecuteFile
(0001BDBC) TCustomScpExplorerForm::DoDirViewExecFile
(0001BC2A) TCustomScpExplorerForm::DirViewExecFile
(0046C7BD) Customdirview::TCustomDirView::DoExecFile
(0046A18E) Customdirview::TCustomDirView::DoExecute
(0046AD8D) Customdirview::TCustomDirView::WMLButtonDblClk
(00282489) Vcl::Controls::TWinControl::WndProc
(002C5763) Vcl::Comctrls::TCustomListView::WndProc
(003C9C0C) System::Classes::_18201
(00040379) USER32.dll
(00037335) USER32.dll
(00036A02) USER32.dll
(00034BA6) USER32.dll.CallWindowProcW
(00079E57) COMCTL32.DLL
(00079EF6) COMCTL32.DLL
(00079CAC) COMCTL32.DLL
(00040379) USER32.dll
(00037335) USER32.dll
(00036A02) USER32.dll
(00034BA6) USER32.dll.CallWindowProcW
(004A18CB) Dragdrop::TDragDrop::WndMethod
(003C9C0C) System::Classes::_18201
(00040379) USER32.dll
(00037335) USER32.dll
(00035095) USER32.dll
(00034E5B) USER32.dll.DispatchMessageW
(00FDCED9) C5412_0
(00FDE4B3) _ReThrowException
(000139AF) TCustomScpExplorerForm::CustomExecuteFile
(00015879) TCustomScpExplorerForm::ExecuteFile
(00015BA2) TCustomScpExplorerForm::ExecuteFile
(0001BDBC) TCustomScpExplorerForm::DoDirViewExecFile
(0001BC2A) TCustomScpExplorerForm::DirViewExecFile
(0046C7BD) Customdirview::TCustomDirView::DoExecFile
(0046A18E) Customdirview::TCustomDirView::DoExecute
(0046AD8D) Customdirview::TCustomDirView::WMLButtonDblClk
(00282489) Vcl::Controls::TWinControl::WndProc
(002C5763) Vcl::Comctrls::TCustomListView::WndProc
(003C9C0C) System::Classes::_18201
(00040379) USER32.dll
(00037335) USER32.dll
(00036A02) USER32.dll
(00034BA6) USER32.dll.CallWindowProcW
(00079E57) COMCTL32.DLL
(00079EF6) COMCTL32.DLL
(00079CAC) COMCTL32.DLL
(00040379) USER32.dll
(00037335) USER32.dll
(00036A02) USER32.dll
(00034BA6) USER32.dll.CallWindowProcW
(004A18CB) Dragdrop::TDragDrop::WndMethod
(003C9C0C) System::Classes::_18201
(00040379) USER32.dll
(00037335) USER32.dll
(00035095) USER32.dll
(00034E5B) USER32.dll.DispatchMessageW
I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.