1
1

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.

Windows便利機能まとめメモ

1
Last updated at Posted at 2018-07-15

定期的にexeファイルを起動する

Task Schedulerを起動する.
Create Basic Taskを選択する.

Display all the running task でタスクスケジューラの確認もできる.

条件: Windows10

batファイル

テキストで編集し,ファイル名を.batにする.ダブルクリックするとテキストの内容が実行される.書いた内容はcmdで実行される.例えば以下の内容をメモ帳などに記入し,"example.bat"という名前で保存する.bat拡張子を使用する.

set name=Run                   #nameという変数にRunを代入            
Example.exe < %name%.txt       #exeファイルの実行
                 #exeファイルに必要な入力に"Run.txt"の内容を与える
cd C:\temp                     #ディレクトリの変更もできる
python example.py              #pythonの実行   
pause                          #エラーチェックのため.pauseがないとエラー内容がわからない

スタートメニューにピン止め

Windows10において,スタートメニューにショートカットをピン止めする方法.

  1. C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programsにショートカットを移動する.例) example.batのショートカット
  2. 1の手順により,アプリの一覧にショートカットが出現
  3. アプリの一覧のショートカットで右クリックし,スタートにピン止めする.
1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?