WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Compiler
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Include Shortcut as Other File in Compile


Question:

I compile my WinBatch program using the option "Large EXE for Standaline PC's" and I have a shortcut file that I want to add to the "Select Other Files" (Add File(s)). The problem that I have is that instead of staying as a Shortcut file (that what I like it to be), it automatically copy the file that it point to.

What do I need to do to just attach the shortcut file?

Answer:

A number of operations "tunnel" through the link file to get to the actual target file name.

You could rename the shortcut file with an extension other than .LNK, and then have the EXE rename it back when it runs.

Or maybe instead of trying to include the shortcut in the compile, use the ShortCutMake function to create the shortcut on the fly.


Article ID:   W16394
File Created: 2005:02:18:12:20:20
Last Updated: 2005:02:18:12:20:20