Forum Discussion

Tris's avatar
Tris
Contributor
5 years ago
Solved

Delete File methods not working

Hi,    I've been attempting to pass in a string to either the aqFileSystem.DeleteFile and/or aqFile.Delete methods in order to delete a single file based on the string, passed in. I am having an is...
  • Wamboo's avatar
    Wamboo
    5 years ago

    In the example you provided, the path to the file you want to delete is badly created dynamically.

     

    See my attached file.

     

    So if you specify the path manually it works properly and if you specify it by the .Path method it doesn't work because you're formatting it badly.