Log in

No account? Create an account
Calling all Windows users. - Chaz Meyers — LiveJournal [entries|archive|friends|userinfo]
Chaz Meyers

[ website | chazmeyers.com ]
[ profile | view profile ]
[ archive | view archive ]

[Links:| chazmeyers.com Twitter ]

Calling all Windows users. [May. 7th, 2005|03:51 pm]
Chaz Meyers
Want to help me out? If you are running something besides XP:
  1. Right-click and download this one line batch file to your desktop.
  2. Double click it. It will print out something like:
    C:\Documents and Settings\chaz>PAUSE
    Press any key to continue . . .

  3. Move it to a different folder and double click it again.

Let me know what it says both times, as well as the version of Windows you are running. I already have some sample data from XP people, so don't worry about it if you're running XP. I'm particularly interested if you're running Windows 2000.

[User Picture]From: ewindisch
2005-05-07 09:04 pm (UTC)
eric@eric ~ $ ./pwd.bat
./pwd.bat: line 1: PAUSE: command not found


In all seriousness, I just fired up VMware and tried it in Windows Server 2003, Enterprise Edition. "Press any key to continue . . .", both times.
(Reply) (Thread)
[User Picture]From: ewindisch
2005-05-07 09:10 pm (UTC)
I know you didn't want XP reports... but I tried it on XP and there was nothing unusual there either. "Press any key to continue . . ." both times.
(Reply) (Parent) (Thread)
[User Picture]From: cpm
2005-05-07 09:11 pm (UTC)
Haha. Cute. :-P

Actually, I'm just curious about the path it displays. On my machine (Win 2000), the cwd is always my home directory, regardless of what directory the batch file is in.

(I put the PAUSE in so the prompt window wouldn't disapear immediately.)
(Reply) (Parent) (Thread)
[User Picture]From: ewindisch
2005-05-07 09:30 pm (UTC)
XP: pwd is the directory the file is saved in.

Win2k3 Server Enterprise: Same as XP.
This is maintained even in compat. mode (tried compat with 95, XP, and 2000).

NT4 Server: Same as XP

W2k server: Same as XP.
(Reply) (Parent) (Thread)