Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4599

Problem with Teledeploy

$
0
0

I modified the scripts below in order to uninstall the "Mozilla Maintenance Service".

I put
Action: Launch
Command: I put the schedule_uninst_mozilla_maintenance.bat to call uninstall_mozilla_maintenance.bat
Priority: 5

The scripts are:

uninstall_mozilla_maintenance.bat

rem File uninstall_mozilla_maintenance.cmd
rem Unstested on W9X (command.com) - please run with cmd.exe
rem To only remove service:
rem     sc.exe delete "Mozilla Maintenance Service"
rem

 %System Drive%
 cd "%ProgramFiles%"
 if not exist "Mozilla Maintenance Service"goto end 

 cd "Mozilla Maintenance Service"
 if exist Uninstall.exe call Uninstall.exe /S 
 del *.* /s /q
 cd ..
 rd "Mozilla Maintenance Service"/s /q 
 :end 
 cd 

schedule_uninst_mozilla_maitenance.bat 

#File schedule_uninst_mozilla_maintenance.bat 
copy uninstall_mozilla_maintenance.bat C:\
for /f (tokens=1) %%a in ('time /T') do set /A heure=%%a + 1
at %heure%:10 "C:\uninstall_mozilla_maintenance.bat"

I can not get results and I can not even find the error. 


Viewing all articles
Browse latest Browse all 4599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>