Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
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,091 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,091 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,091 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,091 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