Saturday 5 December 2009

Making auto CD Eject and Insert batch script in Windows

Hi every body I come back with one new script that inspired by this video and scripting.


and I tried to do this in windows with batch script. The problem in windows is no Dos command for ejecting the CD drive. For this I used the commands and software from here, the first method.

and I add the loop condition for this, that's it...

the batch script is here


@echo off

cd \
:begin
eject E: (Ejecting the CD drive, the path of CD drive "E" here )
eject E: /l (Inserting the CD drive)

goto begin

No comments:

Post a Comment