Re: ListFiles and .DS_Store
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55371
interpreted = N
texte = Jesse Crofoot wrote:> Would this possibly work for what you are trying todo ?> > [ListFiles]> [if "[FileName]"=".DS_Store"][then][/then][else][FileName][/else][/if]> [/ListFiles]> the path peram is required in a listfiles context.And, since your not using the then statment, it would probablybe more pertinant to do a hideif.[text]counter=0[/text][listfiles patt=./][hideif [filename]^.DS_][filename]
[text]counter=[math][counter]+1[/math][/text][/hideif][/listfiles]There were [counter] file[hideif [counter]=1]s[/hideif].Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Jesse Crofoot wrote:> Would this possibly work for what you are trying todo ?> > [listfiles]> [if "[FileName]"=".DS_Store"][then][/then][else][FileName][/else][/if]> [/ListFiles]> the path peram is required in a listfiles context.And, since your not using the then statment, it would probablybe more pertinant to do a hideif.[text]counter=0[/text][listfiles patt=./][hideif [filename]^.DS_][filename]
[text]counter=[math][counter]+1[/math][/text][/hideif][/listfiles]There were [counter] file[hideif [counter]=1]s[/hideif].Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Donovan Brooke
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
problem serving foreign languages text (1997)
[FileInfo] strangeness (1998)
File not found error message (1998)
Nested tags count question (1997)
How can I record purchases to a database? (1998)
[WriteFile] problems (1997)
For those of you not on the WebCatalog Beta... (1997)
Netscape Communicator 4 (1997)
[WebDNA] Sendmail problem (2009)
trouble updating records in database (1998)
[WebDNA] PCI fubar (2012)
Show if file exists (2004)
Images in WebCat (2000)
serial number generation (1997)
Text data with spaces in them... (1997)
authenticating a second user, the sequel (1997)
Another webcatalog site!! (1997)
Webcatalog 4.0 - Storebuilder (2000)
[WebDNA] RESTART WebDNA (2016)
PIXO (1997)