Windows 7 Automatic update of 'Target' and 'Start in' with Bash

Magnum

New Member
Joined
Mar 17, 2017
Messages
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:
From bash it's probably not going to be easy. If you're trying to update them from a *nix box I'd use python. This should give you a primer.
Reading the target of a .lnk file in Python?
 

Solution
Back
Top