|
Answer» hello, i'm wondering if there's any cool dos cammands out there like to open the cd tray, or to turn off the computer. just for fun. thanks.You NEED to look at scripts(VB Script, Window Scripting Host, etc.) not DOS commands.billy joe:
Check out this link for a FULL list of commands for MS-DOS 6:
http://www.microsoft.com/technet/archive/msdos/07_refer.mspx
Click on the links in the left column of the Web page to view more DOS commands.
DOS-like commands that can be used in Windows XP are here:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx
Regards, DocJust for fun, you can use the following script to open CD drawers:
Dim WMP: Set WMP = CreateObject("WMPlayer.OCX.7") Dim CDROMs: Set CDROMs = WMP.cdromCollection
If CDROMs.Count >= 1 Then For i = 0 to CDROMs.Count - 1 CDROMs.Item(i).Eject Next End If
Set WMP = Nothing Set CDROMs = Nothing WScript.Quit
Cut and paste the script into an editor, save it as cdeject.vbs You can run it from the cmd window or the run box. You must INCLUDE the vbs extension when you run it.
If your machine is DOS only, you will need to look into the DEBUG command...not for beginners
For even more fun, CHECKOUT the SHUTDOWN command to turn off your machine. SHUTDOWN /? will give you all the parameters you MAY need.
Hope this helps.
|