Hi @Abdullah Alwan , Welcome to Microsoft Q&A,
If private information is not included, you can show the bat command you are trying to convert.
Did you launch it with sufficient permissions? (try using administrator rights)
Make sure the commands or operations in the batch file are compatible with your version of Windows.
Create a simple .bat file with just a single command (e.g. "echo "Hello, World!") and see if it executes correctly. If it does, gradually add more complexity to the script to identify the problem. Double check the syntax and suffix is .bat.
Best Regards,
Jiale
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.