File Install Directory

Get help with using AutoHotkey and its commands and hotkeys
User avatar
Thenatan
Posts: 36
Joined: 01 Sep 2018, 16:28

File Install Directory

16 Sep 2018, 06:42

Hey Folks .

I'm Trying To Make My Script Installation Path In Program Data , And Also Install Each File In Their Own Folder , Can You guys Give Me Some Examples?

Code: [Select all] [Download] GeSHi © Codebox Plus

FileCreateDir,C:\ProgramData\My Script  ;<<<< Parent Folder
FileCreateDir,C:\ProgramData\Myscript\Resources ;<<<< New Folder Inside The Parent Folder
FileCreateDir,C:\ProgramData\My Script\Files ;<<<< New Folder Inside The Parent Folder

SetWorkingDir,C:\ProgramData\My Script

FileInstall,Resources\BackGround.png,%A_WorkingDir%\BackGround.png,1 ;<<<<< Can't Place The Png Files In Their Own Folder
FileInstall,Files\Example.txt,%A_WorkingDir%\Example.txt,1 ;<<<<< Can't Place The Png Files In Their Own Folder



Any Help Would Be Appreciated , Thank You
garry
Posts: 1419
Joined: 22 Dec 2013, 12:50

Re: File Install Directory

16 Sep 2018, 07:30

example worked ( maybe can use also filecopy for this ? )

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus


Return to “Ask For Help”

Who is online

Users browsing this forum: cjj, FanaticGuru, KiritoSanPlays and 77 guests