Tech Community Live: Microsoft Intune
Oct 01 2024, 07:30 AM - 11:30 AM (PDT)
Microsoft Tech Community

Sure, here is a re-written title/nexec in a batch file:```bat@echo offtitle My Batch Fileecho Hello,

Copper Contributor

Is it feasible to include an executable in a batch file directly? I possess a number of applications stored on a USB drive that I wish to execute from a batch file, enabling me to run them on any computer without installing them on each individual machine.

2 Replies
On some computers, particularly those with strict security policies (like work or public computers), running executables from a USB may be restricted.
Ensure that the applications you are executing do not require installation or additional dependencies that are not also on the USB drive.