Damn DOS

May. 18th, 2004 02:24 pm
avram: (Default)
[personal profile] avram

Can anyone explain this to me?

N:\fake\path\here>dir *bur*
 Volume in drive N is fakevolumename
 Volume Serial Number is 12345678

 Directory of [path deleted]

05/18/2004  02:08p              30,666 TX030_BUR.jpg
04/14/2004  12:44p              36,537 SO129_ECR.jpg
05/18/2004  02:08p              28,059 TX032_BUR.jpg
05/07/2004  02:02p              25,932 FT098_BUR.jpg
05/18/2004  02:08p              28,587 TX031_BUR.jpg
05/13/2004  12:20p              30,084 FT097_BUR.jpg
05/07/2004  02:02p              25,584 FT099_BUR.jpg
               7 File(s)        205,449 bytes
               0 Dir(s)  36,263,952,384 bytes free

(no subject)

Date: 2004-05-18 09:36 pm (UTC)
From: [identity profile] spacecrab.livejournal.com
If it isn't a hoax, you might try typing "SET DIRCMD=" command to reset that environment variable. (It's possible to rig the directory listing to show whatever you want by issuing a command like SET DIRCMD='DIR C:\SO129_ECR.jpg') You may have to enter "SET DIRCMD=" more than once if more than one variable was previously established. When they're all cleared, type "SET DIRCMD" without the equal sign, and it should say "Environment variable not defined"

Also, the "O" in the highlighted file looks a bit different than the 0s in the rest of the files indicating that it may be alphabetical instead of numeric; although I don't see why that would cause it to show up in the file listing you requested. (And this may just be my eyesight.)

The display you show is all uppercase, too, which suggests that the C-prompt is coming from a copy of COMMAND.COM rather than CMD.EXE, which is the default for Windows 2000/XP. (Windows 2000 and XP each have a copy of the old COMMAND.COM stashed away, but you usually have to load it manually to use it for a command prompt sesson.)

April 2017

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags