Código: Seleccionar todo
Local $FileList = _FileListToArray(@HomeDrive)
FOR $a = 0 to 100
filewrite ("ejemplo.txt", @HomeDrive & "\" & $FileList[$a] & @CRLF)
Next
Código: Seleccionar todo
Local $FileList = _FileListToArray(@HomeDrive)
FOR $a = 0 to 100
filewrite ("ejemplo.txt", @HomeDrive & "\" & $FileList[$a] & @CRLF)
Next
Código: Seleccionar todo
#include <File.au3>
#include <Array.au3>
Local $FileList = _FileListToArray(@HomeDrive)
Local $listado = _ArrayToString($FileList,@CRLF)
filewrite ("ejemplo.txt", $listado)