Hi, sorry but I'm a cat (Yes a cat!)
please I use a xdcam disc external drive (is not a CDROM drive), assigned to the letter "F:"
by right clic on it using the mouse I can see the "eject" command. I wonder if is there a way to execute the eject operation via commandline. Thanks
+ Reply to Thread
Results 1 to 17 of 17
-
-
FFS !!!!!!
Next you will want to close the drive with a command prompt.
Totally useless idea. -
naa via commandline is a great idea
[Attachment 45714 - Click to enlarge] -
Google Batch Command Line to Eject CD Tray? Creates vbs script.
https://stackoverflow.com/questions/19467792/batch-command-line-to-eject-cd-tray -
If you wish to use a separate callable utility. Check out NirCmd. http://www.nirsoft.net/utils/nircmd.html . It opens and closes drives, speaks text and a lot more usable in (you got to love it...) Batch files. Offered as freeware.
-
Install Hotswap! and use command prompt, thus:
hotswap! m:
http://mt-naka.com/hotswap/index_enu.htmLast edited by sambat; 24th May 2018 at 14:42.
-
Some of the OP's questions make me wonder if he's developing viruses. I would guess it's easier to automatically execute commands through a command line script than through a GUI.
-
wineject works but seems don't have a commandline way.
The .VBS: I don't know why but it don't works.
The nirsoft works only on CDROM drive, in my xdcam Sony PDW-U2 drive don't works.
Hotswap seems to me don't have an "eject" function, only a "safe remove" function.
This seems work:
Code:powershell "(new-object -COM Shell.Application).NameSpace(17).ParseName('G:').InvokeVerb('Eject')"
-
wineject works but seems don't have a commandline way.
-
The cat is back!! Has it had its distemper shots?? Not likely.
'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
Nice find!
I have 3 hot swap bay/doc/rack, the SATA ports are set to work as a hot swap device on the BIOS/UEFI but it never worked on Windows 7 or 10, if you try, it always say that the device is busy.
With this little app it works with a click, clean and simple!
Thanks!
For the OP question, I use this:
Code:RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
-
To eject the dvd drive using 'Command Prompt' type:
explorer f:
-where f is the drive. -
That is not a valid command switch to eject. It just opens up a window of the root of the f drive.
Explorer.exe does not have as one of its command switch options an eject feature.
Try "freeeject.exe".
Scott
(Though, honestly, I do not understand how anyone with money to spend on a ~$4000USD xdcam drive cannot put in the investment for things like proper tools and/or poweshell training)
Similar Threads
-
windows batch: paste but don't execute command in Windows command prompt
By flashandpan007 in forum ProgrammingReplies: 17Last Post: 22nd Jun 2016, 23:12 -
[SOLVED] "--ipratio" "--pbratio"+"--scenecut" "--minkeyint" / "--keyint
By Kdmeizk in forum Video ConversionReplies: 14Last Post: 21st Jun 2015, 07:21 -
Video Streaming program able to stream a video file and has a "GoTo"command
By eduardobedoya in forum Video Streaming DownloadingReplies: 0Last Post: 14th Mar 2015, 08:19 -
Avisynth "look back" filter/command?
By lordsmurf in forum RestorationReplies: 1Last Post: 27th Jan 2014, 01:01 -
the "-intra" command in ffmpeg.exe affects encoding "-vcodec copy" mode?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 23rd Oct 2013, 15:53