Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I’m creating a batch file to run an install. I’m planning to put it in my staff’s startup folder. I want after the install finish running to automatically delete the batch file from the startup folder. So it doesn’t continue to run every time they log onto the machine
So far this is what have in the batch file:
\\truss\Software\Blackberry\blackberry_install\setup.exe /s f1"\\truss\Software\Blackberry\blackberry_install\seetup.iss" /f2"%temp%\bbinstall.log"Please let me know if that’s possible, if so how?
Thank you

Is the network in a domain or workgroup? You might want to consider using a group policy to deploy/publish/install the software instead of puting the file into the startup folder. You can configure the policy to install the software automaticly when the computer boots up, or when the user logs-in. Once the software is installed, the group policy can monitor and "repair" the software installation if the program files get corrupted.

if you are in a work group then you can add a few lines to your batch file so it will install the software only once.
you can set so it only installs the software if a file created by the install does not exist. example
if exist c:\blackberry.exe goto end
\\truss\Software\Blackberry\blackberry_install\setup.exe /s f1"\\truss\Software\Blackberry\blackberry_install\seetup.iss" /f2"%temp%\bbinstall.log
:end

Great the group policy idea sounds really good. I’m going to talk with the system admin to see if he’ll allow me to do so.
Thank you guys.

![]() |
Windows local/global grou...
|
Games in 2k
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |