My batch file opens an extra command prompt

خرید بک لینک

I have a batch file that I am making as a little joke for my friend. It's supposed to make a batch file in the startup folder that opens the youtube link to a rick roll. My problem is that whenever I run it, it opens an empty command prompt. It still runs the code you see bellow, and it also opens the youtube link like it should and it closes both normal windows normally.

Here's the code.

@echo off

cd C:Users%useame%AppDataRoamingMicrosoftWindowsStart MenuProgramsStartup

echo @echo off > startup.bat

echo start (link) >> startup.bat

start startup.bat

Could someone help point out where I went wrong?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: my batch file closes,my batch file not working,my batch file is looping,my batch file keeps looping,my batch file,my batch file game,my batch file won't open,my batch file wont run,my batch file game farmer,my batch file doesn't work, نویسنده: استخدام کار بازدید: 472 تاريخ: سه شنبه 19 مرداد 1395 ساعت: 9:34

صفحه بندی