make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug #3542] DOS 'move' command is not treated as a command at all, w


From: Earnie Boyd
Subject: Re: [Bug #3542] DOS 'move' command is not treated as a command at all, when using in rule
Date: Tue, 13 May 2003 07:47:27 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130

Paul D. Smith wrote:
%% "Eli Zaretskii" <address@hidden> writes:

  >> HOWEVER... This appears to be a Windows 2000/NT4 issue - in Win 9x
  >> and DOS, move is an explicit standalone program.

  ez> Right, and that explains why "move" isn't there to begin with.

  ez> However, with the proliferation of the NT family descendants of
  ez> Windows (W2K, Windows XP, etc.), we probably should add "move" to
  ez> the list.

What's the impact of having extra commands on the list for earlier
editions of Windows?


It could be conditioned:

OSVERSIONINFO os_info;
memset (&os_info, 0, sizeof (os_info));

os_info.dwOSVersionInfoSize = sizeof (OSVERSIONINFO);
GetVersionEx (&os_info);

if (os_info.dwPlatformId == VER_PLATFORM_WIN32_NT)
  {
    Add ``move'' to list of internal commands;
  }


Earnie.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]