Is it possible to delete files in mid sever from ServiceNow using .bat files??

Sathwik1
Tera Expert

Is it possible to delete files in mid sever from ServiceNow using .bat script?

If so please help me with the script!

 

 

 

@Ankur Bawiskar 

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can send command via mid server script include to execute the bat file

this link has steps

How to run a Batch File on a MID Server, using a MID Server Script File and 'Command' Topic ECC Queu... 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Can you please help me with the script..

Already I have gone through that article..it was not clear for me..

All the steps are clearly mentioned.

Can you help which point is not clear or where are you stuck?

Definitely you need to write script in that batch file to delete files. It's not related to ServiceNow.

here are few links

How to Create Batch to Delete File Automatically – Command Line(CMD) 

Batch Script - Deleting Files 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Sathwik1 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader