Announcement

Collapse
No announcement yet.

deleting file from HS3 immediate script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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_jocky

    #2
    Try this as an immediate script command:

    &nhs: My.Computer.FileSystem.DeleteFile("C:\myfile.txt")

    (Change the file path as necessary.
    Jon

    Comment


      #3
      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

      Comment

      Working...
      X