/build/static/layout/Breadcrumb_cap_w.png

K1000 Search File System Does not work (Version 5.4)

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

Answers (2)

Posted by: jverbosk 12 years ago
Red Belt
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


Comments:
  • 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. - philologist 12 years ago
Posted by: AbhayR 12 years ago
Red Belt
2

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

-Abhay
'Dell KACE| Quality Assurance Group'



Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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