I had hoped simply sending the REN via CMD would work. I.e.
Code: Select all
CMD /C /D RENAME "C:\Program Files\Common Files\Autodesk Shared\WSCommCntr4\lib\WSCommCntr4.exe" "WSCommCntr4.exe.OOTB"
The RENAME portion in a Command window works, but when used like this in a LNK file it doesn't. It seems somehow to be related to pathing, because if I use START to effectively run RENAME from the current directory like this...
Code: Select all
CMD /C /D START /D. RENAME "C:\Program Files\Common Files\Autodesk Shared\WSCommCntr4\lib\WSCommCntr4.exe" "WSCommCntr4.exe.OOTB"
It works, but it leaves the second Command window from the START on screen at completion. And setting Start In for the Shortcut to . rather than using START with the /D. switch doesn't work at all.
I also tried adding an Exit to the end of my LNK properties, like this...
Code: Select all
CMD /C /D START /D. RENAME "C:\Program Files\Common Files\Autodesk Shared\WSCommCntr4\lib\WSCommCntr4.exe" "WSCommCntr4.exe.OOTB" &&EXIT
And still no joy.
So, first I am curious why START is even needed, since I am providing a fully qualified path to the file to be renamed. And, more importantly, does anyone have a thought as to how I can get this to work cleanly in a LNK?
Thanks for any insights,
Gordon