RosettaCodeData/Task/Hostname/Batch-File/hostname-2.bat

2 lines
60 B
Batchfile
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
for /f "tokens=*" %%a in ('hostname') do set "hostname=%%a"