TCL - How to write a directory path on Windows and Unix ?

About

How to write a directory path on Windows and Unix ?

Syntax

On the Windows Plateform, you must write a path by :

  • enclosing it with a double quote
  • using the forward slash (/) instead of the backslash (\)
  • omitting the last backslash

Example :

lappend auto_path "C:/EclipseWorkSpace/Quickstart Installer/test"

On unix :

lappend auto_path /EclipseWorkSpace/QuickstartInstaller/test

Powered by ComboStrap