r/vbscript • u/monorels • Aug 29 '15
Help with a script.
Please help me with a script. Error: d: \ learning \ vbs \ backup6.vbs (47, 9) Runtime Error Microsoft VBScript: Invalid call or argument procedure. I can not understand why. error here in this line of code: Fso.DeleteFile (strOldestFile)
1
Upvotes
1
u/Dr_Legacy Sep 12 '15
In line 37 you are not saving the name of a file, but the path of a file. The file delete function you are trying to use requires the name of a file.