Solved

What does this batch file do? (if anything)

Posted on 2011-02-17
4
1,041 Views
Last Modified: 2012-05-11
I found some batch files a while back whilst working at a school in some student’s accounts on the network. This one confused me because it doesn't look like valid batch file syntax. Any idea what the student was attempting?

<c++>
<F:/ Echo on> Echo = *shut*. <restart>=<function>=<enter>.
<C:/ Minus = Memorybnk. <DIR> Scanning. =<Hunt function>
<N:/= close>
0
Comment
Question by:SnowCrash89
  • 2
4 Comments
 
LVL 1

Assisted Solution

by:Kayg_Hunter
Kayg_Hunter earned 62 total points
ID: 34914440
<F:/ Echo on> Echo = *shut*. <restart>=<function>=<enter>.


This line looks like he might be trying to call up another function - presumable called shut.. Are there any other batch files with it that might look similiar?

<c++> suggests he is writing it to work in or for another program and the syntax of the batch (f:/ as opposed to f:\) makes it look more like it is a linux or unix batch than an MS-DOS batch file.

See if there is any other batch files around it that might be relevant to it and we can take it from there maybe.
0
 
LVL 68

Accepted Solution

by:
Qlemo earned 63 total points
ID: 34914494
That does not look like anything I ever met, and I know a lot of programming and script languages on both UNIX and DOS types of OS.
0
 

Author Comment

by:SnowCrash89
ID: 34914797
Unfortunately I no longer have access to his other batch files but from what I remember they consisted of adding himself to a local admin group and issuing a shutdown command on other computers in the classroom. Perhaps this was as you say some attempt to invoke the command, hence '*shut*'.

He did manage to do this, although I guess not involving this batch file; there were problems when deploying Vista images to computers that then were unable to attach to the domain - and then students were allowed to use them. :S

Nevertheless he was caught when leaving his name in the shutdown command message!
0
 
LVL 1

Expert Comment

by:Kayg_Hunter
ID: 34914857
Pity you can't get the other batch files lol, I am back in a classroom environment atm and would love to mess around with some of the guys pcs lol...

Thanks for the points SnowCrash89

Regards,

Matt
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now