Sign in to follow this  
Followers 0
Briandr

VLC / File Create Shortcut

3 posts in this topic

Hi,

Can someone see where my command for creating a VLC shortcut is incorrect? I am having issues passing the two arguments that tell vlc.exe how to run (privacy pop up and updates)

If Not FileExists(@ProgramsCommonDir & "\VideoLAN\VLC Media Player.lnk") Then FileCreateShortcut("C:\Program Files (x86)\VideoLAN\VLC\vlc.exe", @ProgramsCommonDir & "\VideoLAN\VLC Media Player.lnk", "C:\Program Files (x86)\VideoLAN\VLC", "", "---no-qt-privacy-ask --no-qt-updates-notif", "C:\Program Files (x86)\VideoLAN\VLC\favicon.ico")

Thanks

Share this post


Link to post
Share on other sites



It seems you put the args in the description parameter.

FileCreateShortcut(@ProgramFilesDir & "\VideoLAN\VLC\vlc.exe", @ProgramsCommonDir & "\VideoLAN\VLC Media Player.lnk", @ProgramFilesDir & "\VideoLAN\VLC", "---no-qt-privacy-ask --no-qt-updates-notif", "", @ProgramFilesDir & "\VideoLAN\VLC\favicon.ico")

 

Share this post


Link to post
Share on other sites

Thanks. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0