topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday April 24, 2024, 1:50 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ali79 [ switch to compact view ]

Pages: [1]
1
Find And Run Robot / Re: Icon for alias group?
« on: September 27, 2011, 08:14 AM »
Add the following to each of your alias

/ICON=Path_to_your_ico_file


for example, I have installed farr in c:\farr so to add a sysutils icon that comes with far:

OpenVPN | D:\Users\%USERNAME%\Tools\OpenVPN\_OpenVPN.exe /ICON=C:\Farr\AliasGroups\Installed\Core_Aliases\Core-SysUtils.ico

You need to do this for every alias in your group, and you can have different icons for each AFAIT.


2
Find And Run Robot / Re: netsh alias problem
« on: September 26, 2011, 01:53 PM »
Thanks a lot mouser! It's working perfectly!

I am adding a screen shot for reference:

temp.gif

3
Find And Run Robot / Re: netsh alias problem
« on: September 26, 2011, 11:22 AM »
Yes, as mentioned in my previous message, I did try doing the runcap in alias. Doesn't work... without it the command atleast works. With runcap in alias the command doesn't even work.

Thanks!

4
Find And Run Robot / Re: netsh alias problem
« on: September 26, 2011, 01:27 AM »
dont just put netsh, you have to specify a full commandline path to it.


netsh was on my path so I thought I would be ok. Giving full path got it working! Thanks!

However, I can't get it to run in runcap. I have tried "runcap dns static 8.8.8.8" but I think runcap thinks dns is a commandline app. Also tried prepending runcap within the alias itself.

5
Find And Run Robot / Re: netsh alias problem
« on: September 23, 2011, 11:38 PM »
Thanks for your answer, never realized the regular expression was there to match the input. So, here's what I have got:

Alias Name : dns
Reg Exp:     ^dns (.*)$
Code:         Change DNS - $$1 | runcap netsh interface ip set dns "Local Area Connection" $$1

This allows me to switch between

dns static 8.8.8.8
and
dns dhcp

I can see that farr now tries to execute this but nothing happens. Anyway to see any logs or to find what the problem is? As the same command runs fine within farr without the alias. I have tried the alias with and without the runcap.

Thanks!

6
Find And Run Robot / netsh alias problem
« on: September 23, 2011, 02:25 AM »
Hi, I am trying to get a netsh alias working.

Trying to achieve:

Alias:

dns 8.8.8.8

to launch

netsh interface ip set dns "Local Area Connection" static 8.8.8.8

and if Alias:

dns dynamic

then

netsh interface ip set dns "Local Area Connection" dhcp

As a simple case I have tried putting dns as alias name, leaving all optional and

Change DNS - $$1 | netsh interface ip set dns "Local Area Connection" static $$1

but this doesn't seem to be working. As soon as I type the first number, the alias disappears from result and pressing enter does nothing, like when I try dns 8.8.8.8 with the above alias.

Any ideas?

Also can I prepend runcap with the above alias to get it to display the output?

Thanks!

Pages: [1]