Jump to content

anthonyfrost

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About anthonyfrost

Profile Information

  • OS
    none specified

anthonyfrost's Achievements

0

Reputation

  1. I know many hate replies to old post, but I am doing so because a web search brought me here and there was never a resolution. I had a similar problem while using the method inside of a do/loop and found that putting the check inside of a function outside the loop and then having the function return a true/false value worked. Again, this is more for people who find this in a web search and not the original poster. Small snippet. CheckForStopFile = FALSE IF CheckForStopFile THEN EXIT DO FUNCTION CheckForStopFile CheckForStopFile = FALSE SET objFSO = CreateObject("Scripting.FileSystemObject") IF objFSO.FileExists(PrControlFile) THEN CheckForStopFile = TRUE SET objFSO = CreateObject("Scripting.FileSystemObject") SET DeleteStop = objFSO.GetFile(PrControlFile) DeleteStop.Delete END IF END FUNCTION
×
×
  • Create New...