bat,PowerShell ,windows

Thumbnail of post image 163
バッチファイル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 135

バッチファイル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 051
バッチファイルFOR/F "usebackq" %%a IN (`powershell -command " $contents = ( Get-NetIPAddress | Where-Object -Fil ...

bat,windows

Thumbnail of post image 026

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

bat,PowerShell ,windows

Thumbnail of post image 067

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

bat,windows

Thumbnail of post image 194

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

bat,windows

Thumbnail of post image 039

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

バッチファイル

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

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

10以上あるフ ...

bat,windows

Thumbnail of post image 162

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

bat,PowerShell ,windows

Thumbnail of post image 052

Vbスクリプトを使用せずパワーシェルで行う方法です

ファイルダイアログFOR/F "usebackq" %%a IN (`powershell -command "Add-Type -assembl ...

bat,PowerShell ,windows

Thumbnail of post image 132

コードFOR/F "usebackq" %%a IN (`powershell -command " $contents = (Get-Content ./c_up_parab.txt ); return $c ...