Delete Last Line of a File (vbscript)

Applies To: AutoMate 10
Published: 9/9/10

This sample task will demonstrate how AutoMate can delete the last line in a text file using vbscript.

The task will invoke a vbscript that will remove the last line within a text file. The variable, varFileName, will require a valid path and file name in order for the script to function properly. To download this sample task, click here.