Question2Replies488Views SEKHARRK Member since 2008 3 posts Cisco Posted: 3 years agoLast activity: 3 years 3 months ago Closed Solved Delete specific files on windows desktop using Pega Robotic AutomationI am opening an attachment from email and saving it to local directory. Once I am done with scanning/reading the content from the file, I would like to delete it.Please let me know the the easiest way?**Moderation Team has archived post**This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post. Robotic Process Automation ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Accepted Solution Posted: 3 years agosasnt PEGA replied to SEKHARRKRight-click on the Toolbox window inside one of the tabs (I usually place these on the General tab, although it doesn't matter), and select "Choose Items...". Select the "Pega Robotics Static Members" tab in the "Choose Toolbox Items" window. Click the Radio Button labeled "From "Global Assembly Cache". Select the "mscorlib" assembly. Locate the "File" node and check the "Delete" method that appears beneath it. Click "OK" and the "Delete" method will now appear in your Toolbox. You may now drag this method for use in an automation. You can also do this via C# script using the script component if you are more comfortable writing the code. Posted: 3 years agoSEKHARRK Cisco replied to sasntThanks! It worked.