0

I have added, in this case, the wireshark directory to my env var path and can type "wireshark.exe" from anywhere on my system to launch the program.

I would liek to be able to type "wireshark" or "ws" or something like that to launch the program, is there a way to define a variable which when typing "ws" would allow it to be processed as "wireshark.exe"?

Thanks!

Abraxas
  • 4,486

1 Answers1

2

You can create a batch file named ws.bat that launches Wireshark.exe and save it to your PATH.

  1. Open Notepad and enter the following text:

    "C:\Program Files\Wireshark\Wireshark.exe"

  2. Save the file as ws.bat in C:\Windows\System32 or any other directory in your PATH that you have access to.

Now you can launch Wireshark.exe by simply entering ws at the command line or in Start -> Run.

More info: