ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Fatal error : xcopy Invalid switch

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 18 Oct 2015 12:49:12 -0700
On Oct 17, 2015, at 12:28 PM, Mohammed Al-Moayed <mohammed.moayed@xxxxxxxxx> wrote:

>         xcopy d:/Development\Wireshark-win64-libs\zlib-1.2.8-ws zlib.tmp /D /I /E /Y
> Invalid switch - /Development\Wireshark-win64-libs\zlib-1.2.8-ws
> NMAKE : fatal error U1077: 'C:\Windows\system32\xcopy.EXE' : return code '0x4'
> Stop.
> D:\Development\wireshark>

Did you set WIRESHARK_BASE_DIR to d:/Development

If so, set it to d:\Development instead.  Windows sometimes doesn't like / in pathnames, as many Windows commands use / to indicate a command-line flag, in the TOPS-10 tradition (as opposed to UN*Xes using -, in the Multics tradition).