Hack Forums
CMD Executing File by Shortcut - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+---- Thread: CMD Executing File by Shortcut (/showthread.php?tid=5659028)



CMD Executing File by Shortcut - dn2000 - Jun 30, 2017

I made an outupt.exe file, which I renamed to output.jpg.
Then I created a shortcut to this output.jpg file, where I edited the destination to:

C:\Windows\System32\cmd.exe /c output.jpg

When you click the shortcut, it runs output.exe perfectly. The problem is that clicking on the shortcut opens a CMD window that appears and gone 1 second later.

Is there a way to prevent this window from opening?


* - ZwntanosNekros - Jun 30, 2017

I have same question , posting so i maybe find a solution.


* - dn2000 - Jul 1, 2017

ZwntanosNekros,
Have you find anything about it?