Jump to content

_Filelisttoarray Kod Içine Ekleme.


justpl4y
 Share

Recommended Posts

Aşağıdaki örnekte çıkan sonuçlardan 1 numaralı sonucu kodun içinde bir yere ekleyebilirmiyim?


Firefox kullanıcı dosyalarını her bilgisayarda farklı bir klasörde sakladığı için o klasörü bulup kodun içine eklemek istiyorum.

Clipboard'a kopyalanabiliyor ama kodun içine yerleştiremedim.

 

şuraya eklemek istiyorum. 

Yardımcı olabilirseniz sevinirim.

FileCopy(@AppDataDir & "\Mozilla\firefox\profiles\" & "$Buraya ekle" , $Dest & "\Firefox", 1)

 

 

 

 

#include <File.au3>
#include <Array.au3>

Local $FileList = _FileListToArray(@AppDataDir & "\Mozilla\firefox\profiles\")
If @error = 1 Then
    MsgBox(0, "", "No Folders Found.")
    Exit
EndIf
If @error = 4 Then
    MsgBox(0, "", "No Files Found.")
    Exit
EndIf
_ArrayDisplay($FileList, "$FileList")

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...