No "Format" in right-click menu for DVD

#1
Sometimes when I right-click my DVD drive in TC's folder tree, the "Format" command isn't there. Clicking Refresh doesn't make it appear. Sometimes, restarting TC (I think) or rebooting make it appear. Usually, "Format" is in Windows Explorer's right-click menu, although I think sometimes it is missing from there, too. But, right now, it is in Explorer's menu, but not TC's. And, I just quit and restarted TC, and now it is there.

TCC 12.11.74 Windows Vista [Version 6.0.6002]
TCC Build 74 Windows Vista Build 6002 Service Pack 2
 
Aug 9, 2009
133
0
#3
David I'm surprised :O

type format /? for a list of possibilities
I'd be surprised even more if it works on DVD's


-----Original Message-----
From: David Marcus
Sent: Wednesday, 24 August 2011 7:10 a.m.
Subject: RE: [Support-t-3106] Re: No "Format" in right-click menu for
DVD


Does anyone know how to start the format app from the command line?
 
#5
On Tue, 23 Aug 2011 17:08:02 -0400, David Marcus <> wrote:

|I meant the gui app. The console version of format asks too many questions. The gui is actually easier to use, if you can find a right-click menu that has it.

A shot in the dark ... does DISKMGMT.MSC let you format DVDs?
 
#6
A shot in the dark ... does DISKMGMT.MSC let you format DVDs?
It does. But, it looks like it is using a different gui app. And, starting it and right-clicking isn't really any easier than starting Explorer and right-clicking. Strangely, it defaults to UDF 2.50 instead of UDF 2.01.

I would think that the right-click menu for CD/DVD drives is in the registry somewhere. I poked around a bit, but couldn't find it.
 
#7
On Tue, 23 Aug 2011 17:36:19 -0400, David Marcus <> wrote:

|---Quote (Originally by vefatica)---
|A shot in the dark ... does DISKMGMT.MSC let you format DVDs?
|---End Quote---
|It does. But, it looks like it is using a different gui app. And, starting it and right-clicking isn't really any easier than starting Explorer and right-clicking. Strangely, it defaults to UDF 2.50 instead of UDF 2.01.
|
|I would think that the right-click menu for CD/DVD drives is in the registry somewhere. I poked around a bit, but couldn't find it.

Can't you tell from TaskMgr what's being launched to do the formatting?

Off-topic: I just discovered, In Win7's system32, FORFILES.EXE ... strangely
reminiscent of TCC's FOR ... even has some @variable_functions. It's a good
thing MS didn't put it into CMD! (Rex would have to emulate it.)

Code:
FORFILES [/P pathname] [/M searchmask] [/S]
         [/C command] [/D [+ | -] {yyyy-MM-dd | dd}]

Description:
    Selects a file (or set of files) and executes a
    command on that file. This is helpful for batch jobs.

Parameter List:
    /P    pathname      Indicates the path to start searching.
                        The default folder is the current working
                        directory (.).

    /M    searchmask    Searches files according to a searchmask.
                        The default searchmask is '*' .

    /S                  Instructs forfiles to recurse into
                        subdirectories. Like "DIR /S".

    /C    command       Indicates the command to execute for each file.
                        Command strings should be wrapped in double
                        quotes.

                        The default command is "cmd /c echo @file".

                        The following variables can be used in the
                        command string:
                        @file    - returns the name of the file.
                        @fname   - returns the file name without
                                   extension.
                        @ext     - returns only the extension of the
                                   file.
                        @path    - returns the full path of the file.
                        @relpath - returns the relative path of the
                                   file.
                        @isdir   - returns "TRUE" if a file type is
                                   a directory, and "FALSE" for files.
                        @fsize   - returns the size of the file in
                                   bytes.
                        @fdate   - returns the last modified date of the
                                   file.
                        @ftime   - returns the last modified time of the
                                   file.

                        To include special characters in the command
                        line, use the hexadecimal code for the character
                        in 0xHH format (ex. 0x09 for tab). Internal
                        CMD.exe commands should be preceded with
                        "cmd /c".

    /D    date          Selects files with a last modified date greater
                        than or equal to (+), or less than or equal to
                        (-), the specified date using the
                        "yyyy-MM-dd" format; or selects files with a
                        last modified date greater than or equal to (+)
                        the current date plus "dd" days, or less than or
                        equal to (-) the current date minus "dd" days. A
                        valid "dd" number of days can be any number in
                        the range of 0 - 32768.
                        "+" is taken as default sign if not specified.

    /?                  Displays this help message.

Examples:
    FORFILES /?
    FORFILES
    FORFILES /P C:\WINDOWS /S /M DNS*.*
    FORFILES /S /M *.txt /C "cmd /c type @file | more"
    FORFILES /P C:\ /S /M *.bat
    FORFILES /D -30 /M *.exe
             /C "cmd /c echo @path 0x09 was changed 30 days ago"
    FORFILES /D 2001-01-01
             /C "cmd /c echo @fname is new since Jan 1st 2001"
    FORFILES /D +2011-8-23 /C "cmd /c echo @fname is new today"
    FORFILES /M *.exe /D +1
    FORFILES /S /M *.doc /C "cmd /c echo @fsize"
    FORFILES /M *.txt /C "cmd /c if @isdir==FALSE notepad.exe @file"
 
#10
It shows up on the Applications tab in Task Manager as "Format DVD RW Drive (E:) CD RW". If I right-click and select "Go To Process", it goes to explorer.exe or tcmd.exe, whichever I used to start it.
Don't you see in TaskMgr an "Image Name" to go along with that description?

When I format a DVD via Explorer, I get no new processes and none of the existing processes have a description like that.
 
#12
Then I suppose it's being done by a DLL which both Explorer and TCMD load. And I'd bet TCMD isn't aware of how it's being done but merely relying on the shell. Possibly you could invoke it via @WINAPI[] but that would take a lot of digging.