loading
This instructable shows you how to create a batch file that shows your username on the screen.There is no real use for this but it is fun anyway

Step 1: The Code

Now Copy and paste this code into note pad
@echo off
title Jake Hallidays Username Finder
echo %username%
pause

Step 2: Saving the File

Now save the file as JakeHalliday'sUsernameFinder.bat

Step 3:

a file should be created that looks like this
open it and your user name should appear like this

Step 4: Thank You

thank you for using the software and learning about batch files
Perhaps if you turn this into a working command and it could list all the usernames on the computer it could have a use.
i said it had no real use in the intro!
i said it had no real use in the intro!
i said it had no real use in the intro!
i said it had no real use in the intro!
i said it had no real use in the intro!
One question not to sound negative, but wouldn't they already know their username :-)
Print the username vertically (one character per line): <br> <br> <br>rem ------------------------------ <br>@ECHO OFF <br>setlocal ENABLEDELAYEDEXPANSION <br>SET Iam=%username% <br>for /l %%i in (0, 1, 32) do @ ( <br> SET TheChar=!Iam:~%%i,1! <br> IF [!TheChar!] NEQ [] ECHO !TheChar! <br>) <br>rem ------------------------------ <br> <br> <br>I'm a professional, please don't try this at home! :) <br> <br>I tested this on Windows 8, but it should work on previous versions.

About This Instructable

5,156views

4favorites

License:

More by batchfile4718:How To Make A Username Finding Batch File 
Add instructable to: