English
Entrance

Dateiname uncharted, How File reading?

 

Erasmus.Herold
Hello together ...

I have a Ordner voller Files.
The Dateiname begins always with of/ one Rechnungsnummer (The I know!)

example for Dateiname: 00000302_22001402432.csv
whom remainder to the Unterstrich know I do not, is a Timestamp.

i want now always a defined File automatically read,
can means The Rechnungsnummer mitgeben ... well then?

someone a idea, How I me The File (under 1000whom) nab can?
before into Hilfsverzeichnis To copy scheidet too from, because
copy under XProfan Yes no Wildcards knows.

thanks for all ideas.
Greeting - Erasmus
 
02/05/22  
 




RudiB.
How is the ??
CLS
Declare DateiListe&
DateiListe&=Create("Listbox",%Hwnd,1,0,0,0,0)
ClearList
ChDir "D:\\bills\\CSV_Dateien"' to that suitable directory change
AddFiles "*.csv", 0'Search in the actually directory and füge to ListBoxListe hinzu
Move("ListToHandle",DateiListe&)' copy ListBoxListe to Listbox -DATEILISTE&-
Select String(DateiListe&,-1,"Hier your Rechnungsnummer...")'seek whom first Sign in the list the with the Suchtext übereinstimmt
Print GetString$(DateiListe&,GetCurSel(DateiListe&))
waitinput
 
Xprofan X4

Rudolf Beske / München
02/05/22  
 




Erasmus.Herold
How horny is the because?

Question.
If I in line 6 with addfiles same „00000302*.csv“ (the would in the example my sought number) instead of *.csv mitgebe, then had The Number of Files in the Ordner never Einfluss aufs Laufverhalten?
 
02/06/22  
 




RudiB.
Füg time to the row ADDFILE yet this one...
Listbox$(0,0,"",1)

Yes, because it go less Files The Listbox-list red. In Your drop even only The with the Rechnungsnummer and the TimeStamp...
 
XProfan X4
Xprofan X4

Rudolf Beske / München
02/06/22  
 




Erasmus.Herold
lovely - teste I today afternoon from.
Thank you.

feedback follows.
 
02/06/22  
 




Erasmus.Herold
tres bien !!!

functions perfect.

==========================

now possibly another idea, How I instead of:
ChDir "D:\\bills\\CSV_Dateien"'

a Netzwerkzugriff benefit could?
ChDir "\\192.168.200.97\bills\CSV_Dateien"'

Greeting and Thanks
Erasmus
 
02/06/22  
 




RudiB.
there position the question: only privates networking, or want You too of outside hereon grab.
with internem private networking can You, the Yes with windows Netzwerkfreigaben or with Samba release. simply The suitable Ordner with Zugriffsrechten and Usern enable...there must you time reinlesen....
 
XProfan X4
Xprofan X4

Rudolf Beske / München
02/06/22  
 




Erasmus.Herold
Netzwerkfreigaben - already clear no Topic

the abstrakte grabbed functions hold always,
likes I rather as a allocated letters,
the one Day disappeared is
 
02/06/22  
 




RudiB.
have me so on a idea brought.
I have my Kabelreciver with Festplattenrecorder indeed as Netzlaufwerk miteingebunden and...
AddFiles "*.ts", 1'Search in the actually directory with Subfolders and füge to ListBoxListe hinzu

...everything to video-Files search and me so a Filmdatenbank anzulegen.
 
XProfan X4
Xprofan X4

Rudolf Beske / München
02/06/22  
 




Erasmus.Herold
hint top !!!
 
02/06/22  
 




Erasmus.Herold
small Nachtrag:

ChDir "D:\\bills\\CSV_Dateien"'
AddFiles "*.csv", 0'

dispense we on "ChDir" and give whom way with "AddFiles" with.
then stand we later in the program moreover properly
 
02/07/22  
 




RudiB.
the goes naturally too..."viele ways lead to Rom"
 
XProfan X4
Xprofan X4

Rudolf Beske / München
02/07/22  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

792 Views

Untitledvor 0 min.
Uwe ''Pascal'' Niemeier vor 29 Tagen
RudiB.07/13/22
Georg Teles06/08/22
Ernst05/29/22
More...

Themeninformationen

this Topic has 2 subscriber:

Erasmus.Herold (7x)
RudiB. (5x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie