7 Replies Latest reply on Apr 20, 2009 7:43 PM by zman

    How to delete a directory on the client

    Rookie

      I'm trying to delete a directory on some of our managed clients.

       

      I can't find how to write a LANDesk script to do this, so created a BAT distribution package.  The error I get is below:

       

      ********************

      Processing package : Remove PBSCAT
      Thu, 16 Apr 2009 17:11:20 File (http://coreserver/software/remove_pbscat.bat) is not in cache
      Thu, 16 Apr 2009 17:11:33 Downloading file http://coreserver/software/remove_pbscat.bat (ZpzgHun8aFaFynQDfgj+Fg==, 2)
      Thu, 16 Apr 2009 17:11:33 Downloading file 1 of 1 from 'http://coreserver/software/remove_pbscat.bat'
      Thu, 16 Apr 2009 17:11:37 The file http://coreserver/software/remove_pbscat.bat (2 levels) was not in the TMC cache.
      Thu, 16 Apr 2009 17:11:37 The file http://coreserver/software/remove_pbscat.bat (2 levels) was not in the TMC cache.
      Thu, 16 Apr 2009 17:11:40 Batch file Client Thread
      Thu, 16 Apr 2009 17:11:40 PackagePath:  [http://coreserver/software/remove_pbscat.bat]
      Thu, 16 Apr 2009 17:13:43
      Thu, 16 Apr 2009 17:13:43 Installation result 8DAC4002
      Thu, 16 Apr 2009 17:13:43 processing of package is complete, result -1918091262 (0x8dac4002 - code 16386)

      ********************

      The file appears to copy to the client, but fails to execute.  The authentication is setup correctly in the Scheduler on the Core server.  Is anybody able to assist?