Putty
unknown
batchfile
2 years ago
426 B
5
Indexable
@echo off
setlocal enabledelayedexpansion
rem List of paths to check
set "paths=C:\Putty\putty.exe C:\temp\Putty\putty.exe D:\kits\putty.exe"
rem Loop through each path
for %%a in (!paths!) do (
if exist %%a (
echo Found putty.exe at %%a
ren "%%a" putty.exe_insecure
echo Renamed putty.exe to putty.exe_insecure
) else (
echo Putty.exe not found at %%a
)
)
endlocalEditor is loading...
Leave a Comment