Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

.BAT command help


  • This topic is locked This topic is locked

#1
Gl@dius

Gl@dius

    Member

  • Member
  • PipPip
  • 15 posts
Hey one and all. I am namely curious as to what the command for "eject d:\" would be. do any of you know it? (writing a batch file) thanks for any and all help.


-Gl@dius-
  • 0

Advertisements


#2
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,065 posts
Nothing native to XP, but Google gave me this: Eject CD 1.0. No idea if it's good ot bar or free or not, never used it.
  • 0

#3
Gl@dius

Gl@dius

    Member

  • Topic Starter
  • Member
  • PipPip
  • 15 posts
Thanks. I'll look into it.
  • 0

#4
Gl@dius

Gl@dius

    Member

  • Topic Starter
  • Member
  • PipPip
  • 15 posts
thanks, it worked great.
  • 0

#5
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,065 posts
Glad to hear it worked. Is it free?
  • 0

#6
Gl@dius

Gl@dius

    Member

  • Topic Starter
  • Member
  • PipPip
  • 15 posts
yes sir. 100% free. here's a copy of the code I wrote.

@ECHO OFF
:start
ECHO.
ECHO need a cup-holder?
ECHO.
pause
msg * here's one. use with caution :)
start G:\Files\programs\ejectcd
GOTO start

:)
  • 0

#7
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,065 posts
Okay, you peaked my interest so I tried it. Nice. Not very useful to me, but a nice gizmo anyway. Thanks.
  • 0

#8
Gl@dius

Gl@dius

    Member

  • Topic Starter
  • Member
  • PipPip
  • 15 posts
haha. I can't actually claim credit for the idea for that one. I heard about someone I know doing it, and so I had to try.
  • 0

#9
Gl@dius

Gl@dius

    Member

  • Topic Starter
  • Member
  • PipPip
  • 15 posts
here's a file I titled "DO NOT OPEN...SERIOUSLY"

Removed malicious script.

There's absolutely no reason for script or code that forces looping. This is not a playground.

wannabe1
  • 0

#10
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,065 posts
Gl@dius, my recommendation would be to remove your last post. Too much like a virus for my liking.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP