bat,PowerShell ,windows

Thumbnail of post image 152
バッチファイルSET contents=0FOR/F "usebackq" %%a IN (`powershell -command "$lineNumber = ((Get-Content '%~f0 ...

bat,PowerShell ,windows

Thumbnail of post image 039
バッチファイルpowershell -Command "(Get-Content '%~f0') | ForEach-Object {Start-Process 'C:\a.bat' -Argume ...

bat,windows

Thumbnail of post image 159
バッチファイルset num=0for/f "delims=;" %%f in ('dir/b/on Y:\output_folder4\\*.png') do ( set/a num=!num!+1 s ...

bat,windows

Thumbnail of post image 003
バッチファイル@echo offsetlocal enabledelayedexpansion:: 対象フォルダを指定(この例ではカレントディレクトリ)set "TARGET_DIR=%~dp0"cd/d "% ...

bat,PowerShell ,windows

Thumbnail of post image 034

バッチファイルpowershell.exe -Command "Clear-RecycleBin -Force -ErrorAction SilentlyContinue"timeout 11powershell -Co ...

bat,imagemagick

Thumbnail of post image 152
バッチファイル@echo offset input="input.png"set output="output.png"set size="500x500^"convert %in ...

bat,PowerShell 

Thumbnail of post image 062
コードpowershell -Command "Start-Process -FilePath 'C:\app\tpad\TeraPad.exe' -ArgumentList 'C:\app\v.txt&# ...

bat

Thumbnail of post image 189
バッチファイル

#d688.zipのファイルがあった時に続きの番号から

setlocal enabledelayedexpansionset col=1for/f "delims=;" %%f in (' ...

bat

Thumbnail of post image 149

コマンドラインオプションを使う方法for %%f in ("Y:\aviutl\*.aup") do ("C:\app\aviutl\aviutl.exe" "Y:\aviutl\%%~nf ...

bat,PowerShell 

Thumbnail of post image 053

文字列の長さも同じで小さいファイルに対応します

コードpwsh -command "$bytes = ::ReadAllBytes('C:\app\aviutl\180.aup'); for ($i = ...