What are the alternatives to Windows shortcuts and how to use VBS instead of shortcuts?

Why not use Windows shortcuts:

  • shortcuts cannot be edited directly with a text editor (troublesome when editing shortcuts in bulk)
  • shortcuts must add the suffix .lnk under the command line (which should solve this problem)

available scenarios:

  • bat will have a black window pop up
  • vbs
  • js

do you have any good solutions?

problems that need to be solved when VBS replaces shortcuts:

  • determine whether the file exists
  • Parameter passing problem

if anyone with good VBS ability, help to solve the parameter transfer problem, thank you!

Jun.30,2021
Menu