Reply
 
LinkBack Thread Tools Display Modes
Old 27-07-2007, 09:01 AM   #1 (permalink)
e. <Wonder>
I'm Waiting For Nothing

<Wonder>'s Avatar

repderep

 
Join Date: Aug 2006
Posts: 791
Rep Power: 8
rep's: 226
<Wonder> 80+<Wonder> 80+<Wonder> 80+
Send a message via AIM to <Wonder> Send a message via MSN to <Wonder>
Make your own CMD, A easy way to get past the "Command line is restricted by Admins"

Well, i know some of you have been at a school/library and tried to have some fun with the command line, but when u tried to start the CMD you got the message
"Command line is restricted by Administrator" or something.
i had the same problem at my school so i figured a way to get past the message by making my own CMD. The code is simple, but it can be really powerful.

i'm not going to get deep in batch scripting, but i will explain how the code works.

first, open notepad, paste the script and save as "something".bat

----------------------------------------

@ECHO OFF
BREAK OFF
Title My own CMD
color 0a
cls

:cmd
set /P CMD=Command:

%CMD%
ECHO.
goto cmd

----------------------------------------

The part between "@ECHO OFF" and "cls"
are just installations of colors and stuff (most of it just for fun).

:cmd
":cmd" is just for making a "point" you can loop back to later.

set /P CMD=Command:
"set /P CMD=Command:" is the input for storing your command in the variable "CMD".

%CMD%
"%CMD%" is just the variable you typed in earlier but now it works as a command

ECHO.
"ECHO." are just for making a space between your commands, just for making it cleaner.

goto cmd
"goto cmd" is a command to make the program jump pack to the ":cmd" location and start over from there.


well good luck

please drop a line, and let me hear what u think.


-wonder
__________________
This is my very original signature

<Wonder> is offline   Reply With Quote
NT's Ad - Guest (mode)
New to NT's? Register now and join the fun community
Old 28-07-2007, 07:27 AM   #2 (permalink)
e. Mapleh4ckz
☆Wii Master☆

Mapleh4ckz's Avatar

repderep

Star: Star - Issue reason: For sharing RS account.. thanks man. 

 
Join Date: Dec 2006
Posts: 345
Rep Power: 5
rep's: 280
Mapleh4ckz 80+Mapleh4ckz 80+Mapleh4ckz 80+
If administrators block the command prompt you go to

1. Click Start
2. Click Run
3. Type "gpedit.msc"
4. Under "User Configurations" click "Administrative Templets"
5. Click "System"
6. Double click "prevent access to command prompt" and change it from not configured to disabled
Mapleh4ckz is offline   Reply With Quote
Old 28-07-2007, 07:29 AM   #3 (permalink)
e. Mull
Lets get shpongled

Mull's Avatar

repderep

 
Join Date: Sep 2006
Location: Florida
Posts: 1,537
Rep Power: 10
rep's: 342
Mull 80+Mull 80+Mull 80+Mull 80+
Send a message via MSN to Mull
But what if you can't run anything?
__________________
:x <3



Mull is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +10. The time now is 06:24 PM.


Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
Dane Cook | Ringtones | Loans UK | Cheap WoW Gold | Loans

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266