[SOLVED]Shellexecute Problem lazarus / 8-Other ---------------------------------------------------------------------- IndianaJones · 2010-01-23 21:20 Hi all, I have problem with the shellexecute, i just want to create a file which name is dbase. Here is my statement; ShellExecute(0, 'open', PChar('c:\db\plink.exe -ssh -l xxxx -pw xxxx 192.168.2.10'), PChar('"touch dbase"'), nil, SW_SHOW); But this statement doesnt work, what could be the problem? Thanks. ---------------------------------------------------------------------- IndianaJones · 2010-01-23 22:23 The case is solved, here is the right statement. Thanks ShellExecute(0, 'open', PChar('c:\db\plink'), PChar('-ssh -l xxxx -pw xxxx 192.168.2.10 "touch dbase"'), PChar(''), SW_HIDE);