Dateinamen suchen

  • GM 8

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • Dateinamen suchen

    Hey Leute, und zwar habe ich folgendes Problem:

    ich möchte gerne alle .ini Dateien aus einem Ordner auslesen, und die Dateinamen der .ini in meinem Spiel ausgeben.
    Hat jemand eine Idee wie ich das machen kann?

    MfG GP
  • file_find_first(mask,attr) Returns the name of the first file that satisfies the mask and the attributes. If no such file exists, the
    empty string is returned. The mask can contain a path and can contain wildchars, for example 'C:\temp\*.doc'. The attributes give the
    additional files you want to see. (So the normal files are always returned when they satisfy the mask.) You can add up the following
    constants to see the type of files you want:

    fa_readonly read-only files
    fa_hidden hidden files
    fa_sysfile system files
    fa_volumeid volume-id files
    fa_directory directories
    fa_archive archived files


    file_find_next() Returns the name of the next file that satisfies the previously given mask and the attributes. If no such file exists, the empty string is returned.


    file_find_close() Must be called after handling all files to free memory.


    hoffe es hilft ...
    ---- wer fehler findet darf sie behalten ---

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von Deathshadow ()