Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3e9f0a5a55443f3c6eaf08f4a889b4a29bff5bb6
Ticket: 454597ffffffffffffffffffffffffffffffffff
Limited path size
User & Date: hobbs on 2001-08-24 01:40:40
Changes

  1. icomment:
    Logged In: YES 
    user_id=72656
    
    Thas to be related in some way to an internal 260 (seems 
    like 260 to me) char limit.  On Win2K, you can try this:
    
    for { set i 100 } { $i < 500 } { incr i } {
    set str [string replace [string repeat a $i] end-3 end $i]
      if {[catch {close [open $str w]}]} {
        puts "stopped at $i, allowed \
          [expr {[string length [pwd]]+$i-1}] chars total"
        break
      }
    }
    
    For me that returns:
        stopped at 244, allowed 259 chars total
    
    (you have to allow for [pwd] size).  I then went into 
    explorer to see if I could edit the file name to be longer -
     I couldn't!  I could remove and add a char, but it 
    wouldn't let me go longer.  That indicates a system limit.
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"