unbreakbale batch

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.
 
M

Mark V

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.
 
J

JIM.H.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top