From: nobu.nokada@... Date: 2002-05-29T17:31:23+09:00 Subject: Re: OS independent scripts, system calls on Windows and Linux Hi, At Wed, 29 May 2002 16:57:36 +0900, Tobias Reif wrote: > > C:\>date > > Aktuelles Datum: Fr, 24.05.2002 > > Neues Datum (TT.MM.JJ): > > It is available here. > Did you read my examples? Your "date" command is built in cmd.exe, not an individual file. > See: > > C:\WINDOWS>ruby -e "puts `ver`" > -e:1: command not found: ver > C:\WINDOWS>ruby -e "puts system('ver')" > false > C:\WINDOWS>ver > Windows Millennium [Version 4.90.3000] 1.7 works for internal commands of command.com/cmd.exe. > ruby17-mswin32 -ve "p `ver`" ruby 1.7.2 (2002-05-20) [i386-mswin32] "\nWindows 98 [Version 4.10.1998]\n\n" > ruby17-mswin32 -ve "p system('ver')" ruby 1.7.2 (2002-05-20) [i386-mswin32] Windows 98 [Version 4.10.1998] true -- Nobu Nakada