0
votes
0answers
27 views

A shortcut in Windows 7 does not expand an environment variable if it is not given a argument

I have the following line for the Target: textbox under the Shorcut Properties page: "C:\Program Files\gVim\gvim.exe" --servername %CYGWIN% --remote-silent-tab $* The shortcut expands %CYGWIN% ...
4
votes
2answers
116 views

How to create a directory symbol like ~ for HOME?

I've got a directory path for which I want to create a shortcut, like ~ for a users home directory. I've tried the ENV variables, and I could match $<something> for a path, but I dont want ...
1
vote
1answer
405 views

Environment variable set in batch isn't expanded in shortcut

How can I make my environment variable (set in batch file) visible in application executed right after setting this envvar? Here's the scenario that I use: In my external script (not quite ...
0
votes
1answer
316 views

Shortcut target maximum character exceeded

Is there a way to manage the limit of character in target in shorcuts? I need to add more commands in a target (to set environment variables) and I can't!
0
votes
1answer
85 views

What environment does an application run in if started via desktop shortcut?

I have noticed that the environment variables I export in my .profile or .bashrc files are not available to applications started via a desktop shortcut. At least to my IDE. They are available if I ...
1
vote
3answers
299 views

Windows XP Create Console Shortcuts for Applications

I have become a fervent console user since I began using the linux shell in my daily workflow. I want to be able to call "C:\Program Files\Application\Application.exe" as application from the command ...
1
vote
2answers
974 views

Running shortcut from command prompt without the .lnk extension (Windows)

I have created a folder (d:\shortcuts), created shortcuts for most applications in this folder and appended the folder path to the Path environment variable. Now all my applications are available from ...