Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/17/2021 in all areas

  1. JLogan3o13

    check file

    Yes, and that is never going to work. You need to go back and read the help file for FileExists, and what it returns to understand why $iFileExists will never equal "BR2.cue" Edit: Or you could just wait for someone to give you the answer...
    1 point
  2. Even shorter! Func CreatePath1() Return FileExists("C:\test") ? DirMove("C:\test", "C:\testnew", 1) : DirCreate("C:\testnew") EndFunc ;==>CreatePath
    1 point
  3. The layout of the statement is wrong, it should be Func CreatePath() If FileExists("C:\test") Then DirMove("C:\test", "C:\testnew", 1) Else DirCreate("C:\testnew") EndIf EndFunc ;==>CreatePath or shorter if you want Func CreatePath1() If FileExists("C:\test") Then Return DirMove("C:\test", "C:\testnew", 1) DirCreate("C:\testnew") EndFunc ;==>CreatePath There's also a colon missing from the file path in DirCreate in your post
    1 point
×
×
  • Create New...