﻿Drop2Run

Turn .ps1 files into one-click launchers.

Drop2Run is a small Windows utility that creates a _Run.cmd launcher next to a PowerShell script.

Use it in either of two ways:

- Drop a .ps1 file into Drop2Run.
- Paste a full PowerShell launch command you received from GPT or another source.

The generated launcher keeps the console open so you can check output, errors, and the exit code.

---

Basic use

1. Run Drop2Run.exe.
2. Drop a .ps1 file into the window.
3. Drop2Run creates YourScript_Run.cmd in the same folder.
4. Double-click _Run.cmd whenever you want to run the script.

Example:

text
HashCheck.ps1
HashCheck_Run.cmd


Keep the .ps1 and _Run.cmd together.

For a normal launcher created from a dropped file, the script path is resolved relative to _Run.cmd, so the pair can be moved together to another folder or drive.

---

Scripts with required startup parameters

Some PowerShell scripts require parameters when they are started, for example:

powershell
param(
    [Parameter(Mandatory=$true)]
    [string]$InputPath
)


Drop2Run v1.1.1 checks script-level [Parameter(Mandatory=$true)] parameters that do not have a default value.

If required parameters are found, Drop2Run shows their names and lets you choose:

- Paste launch command — use the full PowerShell command you received, including its arguments.
- Create anyway — create a launcher without arguments. PowerShell may ask for required values when the launcher runs.
- Cancel — do not create the launcher.

This check is intended to catch the common mandatory-parameter pattern. It does not execute or validate the script and is not a security check.

---

Create from a PowerShell launch command

If GPT or another source gives you a command such as:

text
powershell.exe -ExecutionPolicy Bypass -File "C:\Scripts\Analyze.ps1" -InputPath "C:\Data\input.csv"


select Create from launch command... and paste the command.

Drop2Run extracts the .ps1 path and preserves the script arguments in the generated _Run.cmd.

Example:

text
powershell.exe -ExecutionPolicy Bypass -File "C:\Scripts\Analyze.ps1" -InputPath "C:\Data\input.csv"


becomes a launcher that runs the equivalent script command again with:

text
-InputPath "C:\Data\input.csv"


After creation, Explorer opens with the new _Run.cmd selected, so you do not have to navigate to the script folder manually.

This mode accepts powershell.exe or pwsh.exe commands that use -File.

If the .ps1 path copied from the command no longer exists, Drop2Run lets you select the downloaded .ps1 manually while keeping the copied script arguments.

For launch-command mode, Drop2Run keeps the PowerShell executable specified by the pasted command (powershell.exe or pwsh.exe).

Note: script arguments are preserved. If an argument contains an absolute path to another file or folder, that external path must still exist when you run the launcher.

---

Other ways to use Drop2Run

Drop2Run can create optional shortcuts for:

- Desktop
- Windows Send to menu

You can drag .ps1 files directly onto the Desktop shortcut, or use:

text
Right-click
→ Show more options
→ Send to
→ Drop2Run


The same required-parameter check is used when .ps1 files are passed through the Desktop shortcut or Send To.

If you move Drop2Run.exe after creating these shortcuts, create them again from the new location.

---

PowerShell execution

For launchers created directly from a .ps1 file, _Run.cmd checks for PowerShell in this order at run time:

1. PowerShell 7+ (pwsh.exe)
2. Windows PowerShell (powershell.exe)

For launchers created from a pasted launch command, Drop2Run uses the PowerShell executable specified in that command.

The generated launcher starts PowerShell with:

text
-NoLogo
-NoProfile
-ExecutionPolicy Bypass


ExecutionPolicy Bypass applies only to that PowerShell process.

Drop2Run does not change the system-wide Windows Execution Policy.

After execution, the console stays open so you can check:

- Output
- Errors
- Exit code

---

Important

Drop2Run does not check whether a PowerShell script is safe.

Only run .ps1 files whose contents and source you trust.

ExecutionPolicy Bypass is used to make script execution easier. It is not a security check and does not make an unknown script safe.

---

Language

Drop2Run supports:

- English
- Japanese

The initial language follows the Windows UI language:

- Japanese Windows → JP
- Other Windows languages → EN

Normally no settings file is created.

If you manually select a language different from the Windows default, Drop2Run creates a small portable file next to the EXE:

text
Drop2Run.ini


Example:

ini
Language=EN


Switching back to the Windows-default language removes the unnecessary .ini file.

---

Portable

- No installation
- No administrator rights required
- No internet connection
- No telemetry
- No background process
- No system-wide Execution Policy changes
- No registry settings used for application preferences

Desktop and Send To shortcuts are created only when you request them.

---

Distribution type

Freeware
Donations are welcome, but all features are available for free.

---

Author / Contact

Kabocya Works（かぼ茶）
Email: kabocya.works@gmail.com

---

Installation / Uninstallation

Installation is not required.

Extract the ZIP file to any folder and run Drop2Run.exe.

To uninstall:

1. If you created a Desktop shortcut or Windows Send To shortcut from Drop2Run, remove those shortcuts first.
2. Close Drop2Run.
3. Delete the extracted Drop2Run files.

No administrator rights are required.

---

Microsoft Defender SmartScreen

Drop2Run is a new, unsigned application.

Depending on your Windows environment, Microsoft Defender SmartScreen may display a warning the first time you launch it.

If you downloaded Drop2Run from the official Kabocya Works distribution page, confirm the file source and select:

More info → Run anyway

This SmartScreen warning by itself does not mean that Windows has detected malware. It may appear for new or unsigned applications that do not yet have sufficient reputation.

---

日本語

Drop2Runとは

.ps1 を、以後ダブルクリックで実行できるランチャーにする小さなWindowsツールです。

使い方は2通りあります。

- .ps1 をDrop2Runへドラッグ＆ドロップする。
- GPTなどから受け取ったPowerShell起動コマンドをそのまま貼り付ける。

生成した _Run.cmd は、実行結果・エラー・Exit Codeを確認できるよう、実行後もコンソールを閉じません。

---

基本的な使い方

1. Drop2Run.exe を起動。
2. .ps1 ファイルを画面へドロップ。
3. 同じフォルダに 元のファイル名_Run.cmd が作成されます。
4. 次回から _Run.cmd をダブルクリックするだけです。

例：

text
HashCheck.ps1
HashCheck_Run.cmd


元の .ps1 と _Run.cmd はセットで置いてください。

通常のドラッグ＆ドロップで作成したランチャーは、_Run.cmd 自身の場所を基準に .ps1 を探すため、2ファイルを一緒に移動すれば別フォルダや別ドライブでも使用できます。

---

必須の起動パラメータがあるスクリプト

PowerShellスクリプトには、起動時に値を渡さないと実行できないものがあります。

例：

powershell
param(
    [Parameter(Mandatory=$true)]
    [string]$InputPath
)


Drop2Run v1.1.1では、スクリプト先頭の param() にある [Parameter(Mandatory=$true)] のうち、デフォルト値がないパラメータを確認します。

必須パラメータが見つかった場合は名前を表示し、次の3つから選べます。

- 起動コマンドを貼る — GPTなどから受け取った、引数を含むPowerShell起動コマンドからランチャーを作成します。
- このまま作成 — 引数なしでランチャーを作成します。実行時にPowerShellから値の入力を求められる場合があります。
- キャンセル — ランチャーを作成しません。

この確認は一般的な必須パラメータを見つけるための補助機能です。スクリプトを実行・検証する機能ではなく、安全性を確認する機能でもありません。

---

PowerShell起動コマンドから作成

GPTなどから、次のような起動コマンドを受け取った場合：

text
powershell.exe -ExecutionPolicy Bypass -File "C:\Scripts\Analyze.ps1" -InputPath "C:\Data\input.csv"


メイン画面の 起動コマンドから作成... を押して、そのコマンドを貼り付けます。

Drop2Runは .ps1 の場所を取り出し、-File より後ろのスクリプト引数も _Run.cmd に保存します。

上の例なら、次回から _Run.cmd をダブルクリックするだけで、

text
-InputPath "C:\Data\input.csv"


を含めて再実行できます。

作成後は新しい _Run.cmd が選択された状態でExplorerを開くため、自分で深いスクリプトフォルダまで移動する必要はありません。

このモードは -File を使用する powershell.exe / pwsh.exe の起動コマンドに対応します。

コピーしたコマンド内の .ps1 が見つからない場合は、実際にダウンロードした .ps1 を選択できます。その場合も、コピーしたスクリプト引数は保持されます。

起動コマンドから作成した場合は、貼り付けたコマンドに書かれている powershell.exe または pwsh.exe を使用します。

注意：引数そのものは保持されます。引数に別ファイルや別フォルダへの絶対パスが含まれている場合、その参照先はランチャー実行時にも存在している必要があります。

---

ほかの使い方

Drop2Runから以下のショートカットを作成できます。

- デスクトップ
- Windowsの「送る」

デスクトップのDrop2Runへ .ps1 を直接ドラッグすることもできます。

「送る」を使用する場合：

text
右クリック
→ その他のオプションを表示
→ 送る
→ Drop2Run


デスクトップショートカットや「送る」から .ps1 を渡した場合も、必須パラメータの確認を行います。

Drop2Run.exe本体を移動した場合は、デスクトップや「送る」のショートカットを作り直してください。

---

PowerShellの実行

.ps1 を直接ドロップして作成した _Run.cmd は、実行時に以下の順番でPowerShellを探します。

1. PowerShell 7+ (pwsh.exe)
2. Windows PowerShell (powershell.exe)

起動コマンドから作成した場合は、その起動コマンドに指定されていたPowerShellを使用します。

生成されたランチャーは、PowerShell起動時に以下を指定します。

text
-NoLogo
-NoProfile
-ExecutionPolicy Bypass


ExecutionPolicy Bypass は、そのPowerShellプロセスだけに適用されます。

Windows全体のExecution Policyは変更しません。

実行後もコンソールを閉じず、

- 実行結果
- エラー
- Exit Code

を確認できます。

---

注意

Drop2Runは .ps1 の安全性を確認するツールではありません。

内容や入手元を確認できるPowerShellスクリプトに使用してください。

ExecutionPolicy Bypass はスクリプトを実行しやすくするための指定であり、安全性を保証する機能ではありません。

---

言語

対応言語：

- English
- 日本語

初期状態ではWindowsのUI言語に合わせます。

- 日本語Windows → JP
- その他 → EN

通常は設定ファイルを作成しません。

Windows標準言語と異なる言語を選んだ場合だけ、EXEと同じ場所に小さな設定ファイルを作成します。

text
Drop2Run.ini


例：

ini
Language=EN


Windows標準の言語へ戻すと、不要になった .ini は自動で削除されます。

---

Portable

- インストール不要
- 管理者権限不要
- ネット通信なし
- テレメトリなし
- 常駐なし
- Windows全体のExecution Policyを変更しない
- アプリ設定保存のためにレジストリを使用しない

デスクトップおよび「送る」ショートカットは、ユーザーが明示的に作成した場合のみ追加されます。

---

取り扱い種別

フリーソフト
寄付歓迎ですが、すべての機能を無料で使用できます。

---

作者 / 連絡先

Kabocya Works（かぼ茶）
Email: kabocya.works@gmail.com

---

インストール / アンインストール

インストールは不要です。

ZIPファイルを任意のフォルダへ展開し、Drop2Run.exeを実行してください。

アンインストールする場合：

1. Drop2RunからデスクトップショートカットまたはWindowsの「送る」ショートカットを作成している場合は、先にそれらを削除してください。
2. Drop2Runを終了してください。
3. 展開したDrop2Runのファイルを削除してください。

管理者権限は不要です。

---

Microsoft Defender SmartScreenについて

Drop2Runは未署名の新しいPortableアプリケーションです。

環境によっては初回起動時にMicrosoft Defender SmartScreenの警告が表示される場合があります。

Kabocya Worksの公式配布ページからダウンロードした場合は、ファイルの入手元を確認したうえで、

詳細情報 → 実行

を選択してください。

このSmartScreen警告自体は、Windowsがマルウェアを検出したことを意味するものではありません。新しいアプリや未署名のアプリでは、十分な評価情報がないため表示されることがあります。

---

Created by Kabocya Works（かぼ茶）

If this little tool makes your day a bit easier, you can buy the developer a warm cup of tea.

この小さなツールがちょっと役に立ったら、開発者にあったかいお茶を一杯おごってもらえるとうれしいです。

Drop2Run v1.1.1

Copyright © 2026 Kabocya Works
