Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 03:02

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



_FileListToArray problem

Discussion on _FileListToArray problem within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1



 
xShizoidx's Avatar
 
elite*gold: 0
The Black Market: 283/0/0
Join Date: Feb 2011
Posts: 1,351
Received Thanks: 410
_FileListToArray problem

Hallo, ich möchte, dass alle Dateien im Ordner ausgelesen ,geöffnet, gelesen und das Ergebniss in die Konsole geschrieben wird, jedoch funktioniert das so nicht :

HTML Code:
#include <File.au3>
#include <Array.au3>
$Files = _FileListToArray(@ScriptDir)
For $i = 1 to Ubound($Files[0])
  $Open = FileOpen($Files[$i])
   $Read = FileRead($Open)
   ConsoleWrite($Read)
   FileClose($Open)
Next
Kann mir da jemand helfen?
xShizoidx is offline  
Old 04/08/2013, 15:23   #2
 
Achat's Avatar
 
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
@Scriptdir & '\' & $aFiles[$i]

_ArrayDisplay($aFiles) - schau dir den Array Inhalt mal an

MfG
Achat is offline  
Reply


Similar Threads Similar Threads
[Problem]Habe ein Problem und zwar spinnt mein VPC etwas(ohne Grund)?!
07/28/2011 - Metin2 Private Server - 10 Replies
Also wie schon gesagt meins Server spinnt wodurch kiks usw. kommen :( ich lade euch die Screens in den Anhang, mit der Hoffnung, dass ihr mir helfen könnt :) wäre echt sehr nice :)



All times are GMT +1. The time now is 03:04.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.