Andrew67 / launchergen

Windows Application Launcher Batch File Generator
http://launchergen.andrew67.com/
GNU General Public License v3.0
0 stars 0 forks source link

Generate importable batch files #3

Open Andrew67 opened 8 years ago

Andrew67 commented 8 years ago

Did the user not bookmark the URL for their batch file? They should have a way to import based on the generated file!

Possible alternatives:

  1. User uploads batch file containing a commented machine-readable listing of applications.
  2. Bookmarkable URL within batch file.

Tried option 2, but rem errors out due to "/?" portion being interpreted as flag, after encountering "=". Workaround: redirect URL such as "/e?". Bonus: can track imports from URL via server HTTP logs. In all alternatives, will have to consider "rem" pitfalls. Will append to end of batch file with instructions at the top, to avoid having cmd parse the long comment at all.

Andrew67 commented 8 years ago

For option 2, "rem" also can't handle "(" or ")" (which don't get URLEncoded, at least by JS). However, I was planning to add it to end of file so I might as well throw it in as regular text, it's going to be after the exit anyway. Unless this still manages to break "cmd". We'll see.