Jump to content

VLC / File Create Shortcut


Recommended Posts

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

Link to comment
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")

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...