Jump to content

Schmaendoo

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

Everything posted by Schmaendoo

  1. Here ist the updated Batch for the Stinger AutoUpdate. The Batch self is written in German, but if you know the batch process, you will understand it. If you have an other idea to terminate the process after the scan for an unattended process, please insert it in the Batch and post it her. Stinger_AutoUpdate_Batch_DEU.zip
  2. Hi brimstone, I am very interested to use the Stinger in a Batchjob, i have written an Auto-Updater, and an StartUp-Script to create the .opt file for WinXP as a Batchjob but it don´t know the end of the Stinger-Scan to kill the Task or Auto- End the Stinger. Thanx, Schmaendoo
  3. Thanx a lot, a good idea the "FOR %%d..." climax, but to finish the grat idea from gosh i use a if error question to react: cls @echo off echo. echo Search for the CD-ROM Path... if exist A:\WIN51IP.SP1 set CDROM=A: goto exist if exist B:\WIN51IP.SP1 set CDROM=B: goto exist if exist C:\WIN51IP.SP1 set CDROM=C: goto exist if exist D:\WIN51IP.SP1 set CDROM=D: goto exist if exist E:\WIN51IP.SP1 set CDROM=E: goto exist if exist F:\WIN51IP.SP1 set CDROM=F: goto exist if exist G:\WIN51IP.SP1 set CDROM=G: goto exist if exist H:\WIN51IP.SP1 set CDROM=H: goto exist if exist I:\WIN51IP.SP1 set CDROM=I: goto exist if exist J:\WIN51IP.SP1 set CDROM=J: goto exist if exist K:\WIN51IP.SP1 set CDROM=K: goto exist if exist L:\WIN51IP.SP1 set CDROM=L: goto exist if exist M:\WIN51IP.SP1 set CDROM=M: goto exist if exist N:\WIN51IP.SP1 set CDROM=N: goto exist if exist O:\WIN51IP.SP1 set CDROM=O: goto exist if exist P:\WIN51IP.SP1 set CDROM=P: goto exist if exist Q:\WIN51IP.SP1 set CDROM=Q: goto exist if exist R:\WIN51IP.SP1 set CDROM=R: goto exist if exist S:\WIN51IP.SP1 set CDROM=S: goto exist if exist T:\WIN51IP.SP1 set CDROM=T: goto exist if exist U:\WIN51IP.SP1 set CDROM=U: goto exist if exist V:\WIN51IP.SP1 set CDROM=V: goto exist if exist W:\WIN51IP.SP1 set CDROM=W: goto exist if exist X:\WIN51IP.SP1 set CDROM=X: goto exist if exist Y:\WIN51IP.SP1 set CDROM=Y: goto exist if exist Z:\WIN51IP.SP1 set CDROM=Z: goto exist :not_exist echo Ready. echo. echo Your CD-ROM-Path is not trackable. echo This Batch works only if Windows XP Professional SP1 is in your CD-ROM-Drive. goto exit :exist echo Ready. echo. echo Your CD-ROM-Path is: "%CDROM%" :exit echo. echo To close this window press [ENTER] pause > NUL exit The code from climax is better for the cleanup part in a batch... ... FOR %%d IN (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST %%d\RECYCLER rmdir /S /Q %%d\RECYCLER > NUL FOR %%d IN (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST "%%d\System Volume Information" cacls "%%d\System Volume Information" /E /G %USERNAME%:F > NUL ... I Hope the "System Volume Information"- Part is a new tweak in the XP unattended Forum... [Thanx ;-)] Stop! Here i have one more for a unattended defrag... - You can youse it with the "FOR %%d" idea from climax in a task. %SYSTEMROOT%\system32\Defrag.exe C: /F /V
×
×
  • Create New...