📎 AI Summary:
The WindowsForum thread discusses how to automate updating properties of Windows shortcut files (.lnk) using scripting. The original poster requests a method to modify shortcut target paths and working directories via a Bash script, specifically for updating application versions. Respondents suggest that Bash may not be well-suited for this task and recommend using Python instead, providing guidance on reading and potentially editing .lnk files with Python. The overall tone is helpful, pointing towards more appropriate scripting tools for Windows shortcut modifications.

Magnum

New Member
Member details
Joined
Mar 17, 2017
Messages
1
Thread Author #1
Hi,

I want to automatic update Properties for a Windows shortcut from a Bash script.

Especially values in Target and Start in. Typically update from e.g. 'Open Office 4' to 'Open Office 5' for those.

Any idea?

Thanks!
An image from 'Automatic update of 'Target' and 'Start in' with Bash'. Screenshot of OpenOffice 4.1.3 shortcut properties showing target and start locations.
 

Last edited by a moderator: