Delete the file when it is done

I have a script I'm running through a hot folder and when it's over, I want to delete the file in its folder.  I have tried a lot of different things, but nothing works I can not function.  Any suggestions? Or is it possible?

I have it.  Thanks V.  File should be a variable.

var file = (file ("user/post office/work/Hot Folder / Layout.pdf"));

leader. Remove();

Tags: Illustrator

Similar Questions

Maybe you are looking for

  • Microsoft account

    to all those who can help! the problem I have is that my microsoft account is connected to another Skype user. Is it possible to disconnect my microsoft account of this user? I'd be more than happy to give more details if necessary to anyone willing

  • structure of cases with a string as a selector of case

    Hello everyone!I have little problem with the structure of matterlocation:I created the structure of case and case selection is made by the chain.According to the selection of respected cases led should light up the structure of the case is as follow

  • Installation of Iolo System Mechanic error message: cannot install because there is a conflic by Microsoft Security Essentials.

    Microsoft Security Essentials has been uninstalled and I can not find remnants of anywhere I can think of research. Something is always running in the background or otherwise to prevent this installation. I recently had other problems installation, u

  • unknown sender - delete and block - permit sender - duh...

    Show all emails in my "SENT" folder as "unknown sender - delete and block - allow the sender. duh...  Of course, I could push 'permit sender', but I don't want to push a button because some programmer is a fool. Or maybe, I could push DELETE AND BLOC

  • Software Dell 2950

    Hello I have a few Dell 2950 and was looking around for a sort of system and fan monitoring software. Any ideas? Thank you