Page 2 of 2 <12
Topic Options
#210111 - 2015-03-16 11:50 AM Re: need help form the experts again [Re: NTDOC]
Buhli Offline
Fresh Scripter

Registered: 2012-09-24
Posts: 28
Loc: Berlin, Germany
Hi gents, thank you for all of your proposals.
Now it still gives back:
Move C:\etic\Kopie\.
Move C:\etic\Kopie\..


best regards,
Buhli

Top
#210112 - 2015-03-16 12:50 PM Re: need help form the experts again [Re: Buhli]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
damn!
_________________________



Top
#210116 - 2015-03-16 02:36 PM Re: need help form the experts again [Re: NTDOC]
Buhli Offline
Fresh Scripter

Registered: 2012-09-24
Posts: 28
Loc: Berlin, Germany
Oh dear,

sorry Jochen, i'm an old man as well. ;\)
I miss typed one thing.

It runs perfectly now!!!

Thank you once more guys, for all the help an patience with me

All the best to you,
Buhli

Top
#210117 - 2015-03-16 02:53 PM Re: need help form the experts again [Re: Buhli]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
Jeez - this simple test of the logic works just fine:
 Code:
Break On

$Src = 'C:\Temp\'

$File = Dir($Src + '*.*')			; get all files AND folders that contain a dot from $Src folder

While Not @ERROR
  If Not (GetFileAttr($Src + $File) & 16)	; exclude files with attribute bit 5 (Val=16) set
    'File: ' $File ?				; display the file
  EndIf
  $File = Dir()					; get the next filename
Loop
I needed to create a folder with a dot in it to fully test the logic, otherwise other folders were always ignored.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#210118 - 2015-03-16 02:55 PM Re: need help form the experts again [Re: Glenn Barnas]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
Ah - I guess I shouldn't multitask while writing replies.. \:D
_________________________
Actually I am a Rocket Scientist! \:D

Top
#210119 - 2015-03-16 03:00 PM Re: need help form the experts again [Re: Glenn Barnas]
Buhli Offline
Fresh Scripter

Registered: 2012-09-24
Posts: 28
Loc: Berlin, Germany
No problem Glenn, i really appreciate all replies \:\)
Top
Page 2 of 2 <12


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 201 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.067 seconds in which 0.037 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org