WAD dir.htm

Jun 24, 2008
223
0
Siegen, Germany
Having a file "dir.htm" in the current directory, using "dir.htm" on the command line (TCC) will give me an error message (18.00.32 x64):

D:\temp\down> dir
18.02.2016 09:42 258.651 ___A___________ dir.htm

D:\temp\down> dir.htm

Volume in drive D is DRVD Serial number is 9aad:d465
TCC: (Sys) The system cannot find the file specified.
"D:\temp\down\.htm"
0 bytes in 0 files and 0 dirs
2.756.462.653.440 bytes free
 

rconn

Administrator
Staff member
May 14, 2008
11,931
133
WAD, for reasons stretching back 25+ years (command.com and cmd.exe compatibility, and user's insistence on using invalid syntax -- i.e., not putting white space after an internal command name).

Double quote it - "dir.htm" will invoke the file association.