There is an easy way to do this, not with a script command but with a .bat file. From an event you can run a program. In the .bat file you can delete the file.I do not know if this is what you want.
Bob
Announcement
Collapse
No announcement yet.
deleting file from HS3 immediate script
Collapse
X
-
Try this as an immediate script command:
&nhs: My.Computer.FileSystem.DeleteFile("C:\myfile.txt")
(Change the file path as necessary.
Leave a comment:
-
deleting file from HS3 immediate script
Is there a document which details the commands that you can execute from an immediate script?
For instance, I want to be able to delete a specific file from a windows 10 folder.
Can anyone offer any help/insight on whether this is possible and the syntax?
Thank you in advance,
cyber_jockyTags: None
Leave a comment: