/build/static/layout/Breadcrumb_cap_w.png
08/06/2019 200 views

i need to run this script "c: & cd c:\ & del file.extension /s" that search for a file in C: and delete it. the problem i have is that i need to run it like a parameter.

been trying 

Launch a program

Directory:$(KACE_SYS_DIR)

file:cmd.exe

parameters:c\ c: & cd c:\ & del file.extension /s


without sucess. any help would be greatly apreciated.

Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

1

I think your param is incorrect it should be /c not c/


Below pic works.


This works.

Answered 08/07/2019 by: Ziggi
Blue Belt

  • worked perfetctly, ty a lot