Announcement

Collapse
No announcement yet.

Search for *.txt files and File.Run

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Search for *.txt files and File.Run

    Hi all,
    I have some *.txt files in folder but i don't know these names exactly because these files will be created by using button.

    I'd like to search each FileName.txt and install msi files using:

    Code:
    txt_file = File.DoesExist _SourceFolder.. "\\MyFolder\\FileName.txt")
    if txt_file == true
    then File.Run("MsiExec.exe", "/i \""..sWorkDir.."\\FileName.msi\"", "", SW_SHOWNORMAL, true);
    end
    For all FileName.txt we have exactly the same FileName.msi

    But the FileName.txt will be created by checking checkboxes and we don't know how much have been checked.

    So how can i determinate and run filename.msi setup files with existing filename.txt
Working...
X
😀
🥰
🤢
😎
😡
👍
👎