You hit the nail on the head! I tried setting my script name as the argument for guiperl.exe and the internal error went away. Then I read my email this morning and your answer was there. I was using guiperl, but tonight I'll try without as you noted. Thank you. >From: "Jenda Krynicky" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Subject: Re: [perl-win32-gui] no console script running as service proble >X-MIMETrack: Itemize by SMTP Server on ME-PRA-ENTRY2/Prague/CZ(Release 5.0.2b (Intl)|16 December 1999) at 16/02/2000 11:07:29, Serialize by Router on ME-PRA-ENTRY2/Prague/CZ(Release 5.0.2b (Intl)|16 December 1999) at 16/02/2000 11:07:32, Serialize complete at 16/02/2000 11:07:32 >Content-transfer-encoding: 7BIT > >> >> On NT4 sp6: >> >> I ran the makeguiperl script to be able to run a script without a console. >> >> The script runs properly when double-clicked from NT explorer. >> >> I installed the srvany.exe program to allow running my own service >> >> I edit the registry to specify the (.gpl) script to run as a service >> >> The service doesn't run after restart. > >How did you set up the service? I don't think srvany.exe uses the >file extension mapping so I don't think you may set the > Application=script.gpl > >You have to set it up like this : > > Application=...\perl.exe > # it's not necessary to use guiperl.exe ... the service is hidden > # anyway unless you set it as "interactive" > AppParameters=...\script.gpl and some parameters > >HTH, Jenda >== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz == > The phenomenon of UFO doesn't say anything about > the presence of intelligence in space. > It just shows how rare it is here on the earth. > A.C.Clarke ---------------------------------------------------------------- Jon S. Miller (a.k.a. Hoff) Member of Technical Staff, Milgo Solutions, Inc. 1619 N. Harrison Pkwy, MS D108, Sunrise, FL, USA 33323-2802 email: [EMAIL PROTECTED] microsoft mail: [EMAIL PROTECTED] voice: (954) 846-6619 fax: (954) 846-3244 -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2 mQBtAzVZuSAAAAEDAKEKilPmLMmoHCPVgeY+1HbFMlzxHjgW4v4qOQKKgWkQBbsa qrMmz8O3BnTbidrEgzwcDWZIV7vXqYzYxMqEmpaS9lxNCXrStp88e40DEuyWIuWn S4+jk1ENV+kIouMmwQAFF7QESG9mZg== =NK82 -----END PGP PUBLIC KEY BLOCK----- Share what you know. Learn what you don't. ----------------------------------------------------------------