summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorashok <ashok>2016-07-07 06:30:58 (GMT)
committerashok <ashok>2016-07-07 06:30:58 (GMT)
commit85d1666247031e3e951f4817797a6c3d205ed388 (patch)
tree6c02f8a6a858f357847f980c4f81293d9de187fb /doc
parentbf0a1dc6c572e9b49cf0c55903f32caa66b00772 (diff)
downloadtcl-85d1666247031e3e951f4817797a6c3d205ed388.zip
tcl-85d1666247031e3e951f4817797a6c3d205ed388.tar.gz
tcl-85d1666247031e3e951f4817797a6c3d205ed388.tar.bz2
Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows.
Diffstat (limited to 'doc')
-rw-r--r--doc/file.n4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/file.n b/doc/file.n
index 8e765da..eeb67ed 100644
--- a/doc/file.n
+++ b/doc/file.n
@@ -162,7 +162,9 @@ returns \fB/home\fR (or something similar).
\fBfile executable \fIname\fR
.
Returns \fB1\fR if file \fIname\fR is executable by the current user,
-\fB0\fR otherwise.
+\fB0\fR otherwise. On Windows, which does not have an executable attribute,
+the command treats all directories and any files with extensions
+\fBexe\fR, \fBcom\fR, \fBcmd\fR, \fBbat\fR or \fBps1\fR as executable.
.TP
\fBfile exists \fIname\fR
.