tcl to iterate thru folders and parse files

Discussion in 'Software' started by jamboree, Sep 14, 2009.

  1. jamboree

    jamboree Private E-2

    Hi all,

    I would like to know if there is a way in Tcl to iterate through all folders in the current dir.

    Thanks.
     
  2. PC-XT

    PC-XT Master Sergeant

    I don't use tcl, but I imagine I would first try using Tcl_FSMatchInDirectory to request the directories (in result list). You can then iterate through that list. Tcl_FSGetCwd might give the current directory, if it is in the native filesystem.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds