2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

command prompt > ショートカットを実行できるようだ

Last updated at Posted at 2015-10-18
動作確認
Windows 8.1 pro (64bit)

.exeのツールがあり、その実行は.exeを置いているフォルダでのみ可能だと思い込んでいたが、ショートカットそのものも実行できるようだ。

PortQry.exeというツールを例とする。

  • C:\PortQryV2\ に PortQry.exe の実体を保持
  • C:\Tool\ に PortQry.exeのショートカットを作成

上記の状況での実行例として以下

  1. コマンドプロンプトでC:\Toolに移動 (またはエクスプローラから cmd 使用参考)
  2. Pを入力
  3. Tabを押して、"PortQry.exe - ショートカット.lnk"まで入力補完
  4. 引数を設定 "PortQry.exe - ショートカット.lnk" -n 192.168.10.5 -r 135:139して実行する
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?