Help with command prompt (prank purpose)

Giwrgos

Posts: 39   +0
Hey all i want to prank my friend who really knows nothing about pc.I want to copy some files in his c and on the startup folder so that a funny virus like program will start every time he starts his pc.Becouse i don't know his user account name i want to do something like that:

Code:
NET USER (So that i see his user account name)
Echo.
Echo Give the users name
set /p "Name =>"
Copy file.bat "C:\Documents and Settings\%Name%\Start Menu\Programs\Startup\File.bat"

Any ideas of how to acomplish that?
 
This site.

You're essentially asking for how to write files into another user's protected space (protected to prevent just what you're asking to do)
 
Back