Thanks ! It works - I was able to run it from Lotus Notes ! Double-click still did not work for me in winefile, but if I do File | Run it works ... Thanks Rein for the help ! Boris Kirshteyn K-B Toys, Software Architect (413) 496-3249 bkirshte@kbtoys.com Rein Klazes <rklazes@xs4all.n To: BKirshte@kbtoys.com l> cc: wine-users@winehq.com Subject: Re: Can I execute a shell script from Wine ? 09/09/2003 10:36 AM Please respond to rklazes On Tue, 9 Sep 2003 09:09:12 -0400, you wrote: > > What I really want is - to trigger some Linux shell scripts, or PERL from > Lotus Notes script "shell" command. > > batchFile = "z:\usr\share\bin\test.bat" > If Dir$(batchFile) <> "" Then > taskId% = Shell(batchFile) > Else > Print batchFile & " not found." > End If > > (where test.bat has one line similar to this one - <perl_pgm_name>.pl And is it really: - a Linux shell script (first line is "#!/bin/sh, no CRLF line separators ) - is it executable for you? No messages on the terminal screen? And the .bat extension might have side effects, to be at the safe side I use .exe unless it is a DOS batch file. > > I've also tried winefile (did not know it existed) > - double click did not > do it though ... It should. For testing I creted a small script: ===================== #!/bin/sh echo hello from Linux $0 ===================== and saved it in hello.sh then made it executable: chmod +x hello.sh the I start winefile and double click the script. On the terminal screen hello from Linux /home/rein/hello.sh Rein. -- Rein Klazes rklazes@xs4all.nl _______________________________________________ wine-users mailing list wine-users@winehq.com http://www.winehq.com/mailman/listinfo/wine-users