How can I start a program via batch and change its name in the Task Manager. For example,
start "program" /HIGH "%~dp0\program.bin"
In the Task Manager it shows program.bin, but can I change it to something else, for example, hideMe.bin?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
It sounds like you have a hard-coded path to some executable "program.bin" and you want it to be launched as expected, but appear in Task Manager as "hideme.bin". Is that correct? If so, here's the easiest way to do that (assuming you're using Windows Vista or later):
cmd, run the following command (replacing file names and adding paths as appropriate) to create a symbolic link from the old name to the new one:
mklink program.bin hideme.bin(may require administrator privileges).
This probably also works using a hard link (add a
/H to the command before the file names, as in
mklink /H ... as I believe Windows considers the oldest name linking to the file to be the canonical name. Hard links are available even on very old versions (Windows 2000, maybe earlier) via the
fsutil command. Both symbolic and hard links require the NTFS file system.