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

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

From: Mohammed Al-Moayed <mohammed.moayed@xxxxxxxxx>
Date: Sat, 17 Oct 2015 22:28:11 +0300
Hi List

I am trying to build Wireshark but I get the below error (highlight in red)

it is with xcopy switch. How could I fix this?

My platform is win 10 Pro x64

additional information are available upon request

See my screen output below:

D:\Development\wireshark>nmake  -f MakeFile.nmake all
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.
        cd tools
        "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe" /                   -f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.
        cd lemon
        ..\native-nmake "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe" /                   -f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.
        cd ..
        cd ..
        cd image
        "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe" /                   -f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.
        cd ..
        cd codecs
        "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe" /                   -f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.
'codecs.lib' is up-to-date
        cd ..
        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>