unbreakbale batch

  • Thread starter Thread starter JIM.H.
  • Start date Start date
J

JIM.H.

Hello,
I am using
ShellExecute.exe /f:x:\path\childscript.bat /r:hidden to
launch a bat file when user logs in the system. My problem
is, it seems if the user log off childscript.bat is
broken, (or when user logs off and logs back in again. One
of these cases break the batch. I could not test the case)
Is there any way to launch unbreakable batch file.
Thanks,
Jim.
 
In said:
Hello,
I am using
ShellExecute.exe /f:x:\path\childscript.bat /r:hidden to
launch a bat file when user logs in the system. My problem
is, it seems if the user log off childscript.bat is
broken, (or when user logs off and logs back in again. One
of these cases break the batch. I could not test the case)
Is there any way to launch unbreakable batch file.
Thanks,

How / where is your "logon" batch running from? (eg Startup Folder,
"RUN" key, GPO-Local logon script...)
Try a UNC Path instead?
You may need to post childscript.bat as well. Meantime does it just
plain not ret run or does execute but fail somewhere. Perhaps logging
output to a file would help.
 
Hello,
This batch is a published application through citrix, when
a user logs in he/she launched it manually and it runs in
a terminal server. When user logs off, I think all the
application started by the users end even if it is started
by ShellExecute.exe hidden mode. Is there any way to
launch another batch that runs in the terminal server
until the batch ends, regardless user conditions.
Thanks,
Jim.
 
Back
Top