command for right-click on .lnk file ?
Posted: 02 Aug 2020 13:23
This one is a long shot but I saw no harm in asking.
I dislike the standard Windows methods of creating shortcuts. I like fell swoops.
When I set up a folder structure for a new client using a batch file with a parameter, the last of several steps is to create a dummy desktop shortcut by copying a dummy .lnk file to the desktop with a name that is generated from the parameter. Last line of batch file is:
copy dummy.lnk c:\users\norma\desktop\%str2%.lnk
Back in Windows, I locate the new file on the desktop, right-click to open the context menu, select Properties, and change Target from the dummy destination to the client's folder.
Question: is there a DOS method of opening the context menu for the newly created .lnk file?
I dislike the standard Windows methods of creating shortcuts. I like fell swoops.
When I set up a folder structure for a new client using a batch file with a parameter, the last of several steps is to create a dummy desktop shortcut by copying a dummy .lnk file to the desktop with a name that is generated from the parameter. Last line of batch file is:
copy dummy.lnk c:\users\norma\desktop\%str2%.lnk
Back in Windows, I locate the new file on the desktop, right-click to open the context menu, select Properties, and change Target from the dummy destination to the client's folder.
Question: is there a DOS method of opening the context menu for the newly created .lnk file?