1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WAD dir.htm

Discussion in 'Support' started by nickles, Feb 18, 2016.

  1. nickles

    Joined:
    Jun 24, 2008
    Messages:
    220
    Likes Received:
    0
    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
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,812
    Likes Received:
    82
    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.
     
  3. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,188
    Likes Received:
    11
    It's not invalid syntax if it works! :confused::banghead:
     

Share This Page