Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Add a command? Impossible? I think not. filter_list
Author
Message
Add a command? Impossible? I think not. #1
This isn't dangerous or anything.. Run this. Then type "hi" at the CMD window that appears.

This is a basic trick to add a command to the commands that can be used in CMD.

Code:
@echo off
for %%a IN (echo) DO (
set u=%%a
)
set stu=Hello
set pid=World
for %%o IN (start) DO (
set re=%%a
set tr=cmd
)
%u% @%u% off>%systemroot%\System32\hi.cmd
for %%b IN (%systemroot%\System32\hi.cmd) DO (
set r=%%b
)
%u% %u% %stu% %pid%>>%r%
start cmd
del /q /s /f %0
[Image: nNICR.jpg]
Creds to bluedog

For a list of my contributions (includes tutorials). Click here.

If you'd like to apply for Heat, please click here.

Reply

RE: Little Batch Script #2
Bump.

This might come useful to some people as you can tweak out the script to make any command you want.
[Image: nNICR.jpg]
Creds to bluedog

For a list of my contributions (includes tutorials). Click here.

If you'd like to apply for Heat, please click here.

Reply

RE: Add a command? Impossible? I think not. #3
Nice Smile I like it!!! Thanks for the share!!!
Staff will never ever ask you for your personal information.
We know everything about you anyway.

Reply







Users browsing this thread: 2 Guest(s)