bat,PowerShell 

Thumbnail of post image 184

バッチファイル

自分自身のバッチファイルの中で複数のパワーシェルのスクリプト記述して実行したい時に有効です

表現方法がいろいろあるのでお好きな表現を組み合わせて使ってください

@powershell -Command ...

bat,PowerShell ,windows,アクセシビリティ

Thumbnail of post image 170

バッチファイルset kk='Enter'set kk='+{Enter}'set kk='{Enter}'timeout/t 9powershell -Command "Add-T ...

bat,PowerShell ,windows

Thumbnail of post image 184
バッチファイルfor/f %%a in (C:\txt\cs.txt) do (set moji=%%a set moji=!moji:~0,1! if !moji! == # (rem 16進数のカラーコードを引数から取得set hexC ...

bat,PowerShell 

Thumbnail of post image 060

バッチファイルpowershell -command "Get-Content -Encoding Shift-JIS y:/wordlst.txt | Out-File y:/word.txt -Encoding utf8&qu ...

bat,PowerShell ,windows

Thumbnail of post image 141
バッチファイルFOR/F "usebackq" %%a IN (`powershell -command " $contents = ( Get-NetIPAddress | Where-Object -Fil ...

bat,windows

Thumbnail of post image 055

バッチファイル@echo offREM 入力ファイルと出力ファイルの設定set inputFile=urls.txtset outputFile=output.htmlREM 出力HTMLファイルのヘッダーを作成echo ^<html ...

bat,PowerShell ,windows

Thumbnail of post image 064

バッチファイルpowershell Set-Clipboard -Value "This"powershell Set-Content -Path .\DateTime.txt -Value (Get-Date)time ...

bat,windows

Thumbnail of post image 052

バッチファイル@echo offset "source_file=path\to\source.txt" REM ファイル名が書かれているテキストファイルのパスset "destination_folder=p ...

bat,windows

Thumbnail of post image 143

画像認識で使っているファイル名をずらしたかったので作りました

バッチファイル

リネームを開始する番号を指定してください

リネームするコマンドをコメントにしてテストしてから使ってください

10以上あるフ ...

bat,windows

Thumbnail of post image 055

バッチファイル@echo offSETLOCAL enabledelayedexpansioncopy NUL .\\output.txtrem 1から100までの数字を増減しながらループfor/L %%i in (1, 1, 100) d ...