パワーシェルを使ってMicrosoft Excel などのオフィスのファイルの作成者を変更するバッチファイル

バッチファイル
壊してしまう可能性もあるため元のファイルは保存しておいてください
echo e %*:: @pwsh -NoProfile -Command "& (Invoke-Expression -Command ...日本語を含むShift-JISのファイルを読んでコンソールに出力 powershell7

新しいバージョンのパワーシェル は UTF 8 で読み込むので日本語で扱うには難しいです
バッチファイルShift-JISでバッチファイルを保存してください
echo e %*::@pwsh -NoProfile - ...パワーシェルで文字をつなげて3文字の文字を作る

ららら ららり ららる らられ ららろらりら らりり らりる らりれ らりろらるら らるり らるる らるれ らるろられら られり られる られれ られろらろら らろり らろる らろれ らろろりらら りらり りらる りられ りらろりりら りり ...
emotional-face エクセルなどにコピペができるギザギザにならないemf 形式のスタンプを作ってみる

サイトを参考に作成方法は踏襲してパーツの変更と追加を行いました。プログラムの修正を行いemf 形式のエモーショナルフェイスを作成してみました
サンプルemf のダウンロードバッチファイルecho e %*md "y:\ ...eight判を使わないでデータ印をクリップボードに出力する

SVG を使うとテキストをセットしたり画像をセットしたり図形をセットしたりすることが可能なので処理を作ればバッチファイルで出力が可能です
SVG ファイルは テキストエディターで編集が可能ですがinkscapeこれを使うと ...
PowerShellでemf 形式の画像ファイルをクリップボードに コピーする

手こずったのですが 参考 URL を見て作ることができました
バッチファイルドラッグアンドドロップやパッチファイルの引数指定可能です
echo e %*@powershell -Command "& (In ...PowerShellで画像ファイルをクリップボードにコピーする

バッチファイル
emf ファイルはうまくいきません
PowerShell -Command "Add-Type -AssemblyName System.Windows.Forms;Add-Type -AssemblyN ...SendInput バッチファイルとパワーシェルでマウスとキーボードを操作する powershell

SendInputを使ってC#で関数を作りパワー処理で実行します
バッチファイル@powershell/c '#'+(Get-Content \"%~f0\"-raw)^|Invoke-Exp ...バッチファイルとパワーシェルでマウスとキーボードを操作する powershell

バッチファイル
コンソールにやっている内容を表示しビープ音を鳴らします
wheelうまく動きません
@powershell/c '#'+(Get-Content \"%~f0\"-r ...バッチファイルとパワーシェルでマウスを操作する powershell

バッチファイル@powershell/c '#'+(Get-Content \"%~f0\"-raw)^|Invoke-Expression &timeout/t 50&goto:eof# const d ...