Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- loop %A_ScriptDir%\XP\*.*,,1 ;includes subfolders ;this folder includes your Program.exe, Program.csv, and your image subfolder with all your images in it.
- {
- SplitPath,A_LoopFileName,,,Ext
- if (Ext = "png" or Ext = "jpg" or Ext = "exe")
- FileAppend,FileInstall `, %a_loopFileLongPath%`,XP\%A_LoopfileName%`n,MyFileInstall.txt ;puts images in the image folder
- else
- FileAppend,FileInstall `, %a_loopFileLongPath%`,%A_LoopfileName%`n,MyFileInstall.txt ;puts everything else in the script folder
- }
- ;MyFileInstall.txt Add karein Script Mein
- ; IfNotExist, %A_ScriptDir%\XP
- ; FileCreateDir, %A_ScriptDir%\XP
- ; #Include, MyFileInstall.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement