/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


K1000 Search File System Does not work (Version 5.4)

05/16/2012 4216 views

Testing with this and can never get to work. Under verify script step select "Search file system.."

 

Options:

 

Type: file

Name: test123.txt

Directory \

Drives: C:

Action: Delete

 

Does nothing. I've tried all sorts of combinations. Any idea, or proper syntax?

 

Thanks

0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

3

This may be a "special use" scenario - a call to KACE support may help clarify what the Action : Delete is actually used for (and if it should be working as intended here).

Otherwise, if you're just trying to delete a file (period), you could setup a script as follows:

1) Copy the Uninstall Msiexec Template - the other scripts don't appear to have the "Run a batch file option" (ignore if you prefer using vbscript/powershell).

2) In the Task section select, Verify - Verify a file exists...

3) Select On Success, then Run a Batch File and specify your commands to delete the file.

As mentioned before, this can also be done using vbscript or powershell, but the setup would be a little different.  Same idea, though.

John

Answered 05/16/2012 by: jverbosk
Red Belt

  • I've always done it with a batch script. That said, this should really work. I tested it as well, and could not figure out the proper syntax, whether Drives: C, Drives C:, or Drives C:\ etc. The same for directory /temp/, /temp, temp/, or temp. There are a lot of detail features like this where I am not aware of any documentation. Usually I can guess, but this appears cryptic.

All Answers

2

"Search file system.." task in scripting is not working. This is a bug in version 5.3.

-Abhay
'Dell KACE| Quality Assurance Group'



Answered 05/17/2012 by: AbhayR
Red Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ