Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi, I wondered if it is possible to create a hyperlink to a batch file WITH PARAMETERS. For example, i have a batch file that runs netmeeting, and within there i have different options depening on the parameter entered. this works fine from the command line ie runnetmeeting.bat homepc (which starts netmeeting connection to my "homepc". But if i try to do this with a hyperlink it doesnt work. Anyone have any ideas on this?

Hyperlink? I think you mean shortcut?
Create a shortcut on the computer you want to run the .BAT file from. Explained below.
Example:
C:\Somefolder\Netmeeting.bat
- or on a network -
\\Computer\C$\Somefolder\Netmeeting.bat
Note: The "C$" always points to a drive on the computer you are going to browse on the network, whether it is shared or not.Right click on your desktop and shoot to New > Shortcut, and enter the location and name of the shortcut of the .BAT file in the dialog. Next after you have created the shortcut, right click on it then select properties.
In the TARGET edit box, enter parameters there.For example:
C:\Somefolder\Netmeeting.bat -parameter
- or on a network -
\\Computer\C$\Somefolder\Netmeeting.bat -parameterAnd your done!
P.S. To do this multiple times quickly, just copy the shortcut, paste it back to the desktop and by using the Properties dialog, modify it's name, pertaining to what you want the parameter to do and the parameter itself.
Justin

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |