Sep 23 2022 09:57 AM
REM create Directory
cmd /c mkdir "C:\Temp\Folder2"
xcopy FILE1.JPG "c:\Temp\Folder2" /y
xcopy FILE2.JPG "c:\Temp\Folder2" /y
Sep 23 2022 11:18 AM
Take a look at these articles on packaging IntuneWin apps to ensure you're bundling in everything you need and following all the steps.
Best Guide Intune Win32 App Deployment | Endpoint Manager
Relative File Paths in Powershell
It's okay to put things all in one directory if needed, but the second link has some tips on scripting you might want to consider. Instead of copying to a literal path of c:\temp you should try using relative paths or the $scriptroot variable, which will put you in the correct location of your content wherever Intune caches it, which would make things more flexible.
Please like or mark this thread as answered if it's helpful, thanks!
Sep 24 2022 02:08 AM
@oryxway390 : You can checkout my blob post where I explain how to copy an exe to an specific location. For sure you can easily adapt this to other file types.
Deploy a Win32 App with Intune (Cmtrace) – Modern Device Management (jannikreinhard.com)
Sep 24 2022 06:19 PM