Jump to content

Recommended Posts

Posted

;EXAMPLE #1
$f_directory = 'c:\1\' ; local hard drive
$a_files = _FileListToArray($f_directory, "*.rtf", 1)
ConsoleWrite('@error = ' & @error & @CRLF) ; returns 0

;EXAMPLE #2
$f_directory = 'K:\1\' ; NetworkAreaStorage
$a_files = _FileListToArray($f_directory, "*.rtf", 1)
ConsoleWrite('@error = ' & @error & @CRLF) ; returns 4

;EXAMPLE #3
$f_directory = 'K:\1\' ; NetworkAreaStorage
$a_files = _FileListToArray($f_directory, "*rtf", 1)
ConsoleWrite('@error = ' & @error & @CRLF) ; returns 0

Why when I seach for NAS directory with '*.rtf' EXAMPLE #2 returns 4 ?

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

What is the filesystem of the NAS?

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)

planet 1-bay sata nas server model no: NAS-7102

Firmware Version CN2183-1.56b LOADER 1.09a PT.0006

i think there is something like SAMBA LINUX SERVER

edit:

.... i think there is FAT32 -- not checked

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

I have a funny feeling it could be the filesystem (as you don't know if it's NTFS or FAT32,) though this is just a wild guess.

I once used FreeNAS, but when the likes of Dropbox and such-like sites came along I migrated to those for data backup.

Edited by guinness

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

OK, then I don't know I'm afraid. Maybe someone else will come along who has better knowledge in this area.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)

its so strange

in Total Commaner I search file on K:1

when i Use that same wildcard "*.rtf"

TotalCommaner dont find nothing

when i Use that same wildcard "*rtf" (without dot)

TotalCommaner find all files

but Windows Exporer finds do two situation

when I put wildcard '*.rtf' to "All name or part of name" then explorer find well all that file

when I put wildcard '*.rtf' to "Word (expression) or phrase" then explorer do not find anything

why ?

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 2 weeks later...
Posted

I see there be a "Wild-card code" rewriting

http://www.autoitscript.com/trac/autoit/ticket/1231

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...