ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > Living Room

Windows system "aliases"?

<< < (3/3)

Edvard:
Shortcuts... seriously.
Make shortcuts with the full command of what you're trying to do, and place them in a folder that you add to %PATH% (putting them in c:\windows\system32 was kinda rude, IMO, albeit effective...).
I did it all the time, worked well as long as the options were there.  Fer example, to open firefox and have it open to Donationcoder.com:

--- ---c:\path\to\firefox.exe "https://www.donationcoder.com"http://kb.mozillazine.org/Command_line_arguments

You'd have to look up how to do it on other browsers, and programs that don't accept parameters you want can be dealt with by using a script automation thing like AHK.

MilesAhead:
Shortcuts... seriously.
Make shortcuts with the full command of what you're trying to do, and place them in a folder that you add to %PATH% (putting them in c:\windows\system32 was kinda rude, IMO, albeit effective...).
I did it all the time, worked well as long as the options were there.  Fer example, to open firefox and have it open to Donationcoder.com:

--- ---c:\path\to\firefox.exe "https://www.donationcoder.com"http://kb.mozillazine.org/Command_line_arguments

You'd have to look up how to do it on other browsers, and programs that don't accept parameters you want can be dealt with by using a script automation thing like AHK.
-Edvard (September 11, 2012, 04:04 PM)
--- End quote ---

A variation of this technique I've seen is put them in the Quick Launch folder. Especially if you have W7 and don't use quick launch bar, you can type the name of the shortcut in the Run or Search box and it will launch. I think I tried it in XP or Vista. Haven't tried it on W7 but I see no reason why it wouldn't work.

Or use an alternative shell with native alias functionality such as bash for win32. Just enter the aliases in bash start-up config script similar to DosKey alias=command.  Usually the ls command comes configured as an alias with a bunch of options so that the options are specified just by typing ls and the file pattern into the bash command shell.


mouser:
For gods sake, this is what FARR aliases were designed for.

Josh:
For gods sake, this is what FARR aliases were designed for.
-mouser (September 11, 2012, 08:10 PM)
--- End quote ---

I have actually been doing some heavy toying with FARR as of the last 24 hours. Mouser already knows this, however, as I have been blasting his virtual ears on IRC. I think this will work out nicely!

If only it had indexing ;-)

And with that, 3000 posts!

Navigation

[0] Message Index

[*] Previous page

Go to full version