Fantom C/DVD Command-Line switches Fantom C/DVD can be run:  Automated in batch files (batch mode) The Fantom C/DVD command-line switches are used to alter Fantom C/DVD behavior and automate procedures. To list Fantom C/DVD command-line switches In the Fantom C/DVD directory, type one of the following: FdCmd.exe h FdCmd.exe ? A hyphen (-) or a slash (/) must precede all switches except @. Switches are not case sensitive. They can be entered in upper, lower, or mixed case. The FDCMD command line uses the following syntax: FDCMD [drive:] [n] [host:target:lun] [filename] [/?=nn] [/h=nnn] [/+-D] [/L] [/M] [/+-S] [/U] [@n=Command] [/PA=c] [/PR=c] [/TA=h,c] [/TR:h,c] [/Ins] [/Unins] [/V=DB|DP|IB|IP] All command message silent All options are case-sensitive. The command line is parsed from left to right. Descriptions of the Fantom C/DVD command-line options follow. Parameters: [?] [/?=nnn] display locate language help and exit Example: FdCmd.exe ? nn option TW display LANG_CHINESE SUBLANG_CHINESE_SIMPLIFIED help and exit Example: FdCmd.exe ?=TW FdCmd.exe /?=TW CN display LANG_CHINESE SUBLANG_CHINESE_TRADITIONAL help and exit Example: FdCmd.exe h=CN FdCmd.exe /h=CN CZ display LANG_CZECH help and exit Example: FdCmd.exe ?=CZ FdCmd.exe /h=CZ EN display LANG_ENGLISH help and exit Example: FdCmd.exe h=EN FdCmd.exe /h=EN DE display LANG_GERMAN help and exit Example: FdCmd.exe ?=DE FdCmd.exe /?=DE [h] [/h=nnn] display locate language help and exit Example: FdCmd.exe h nnn option EN display english langiage help Example: FdCmd.exe h=EN TW display traditional chinese langiage help Example: FdCmd.exe h=TW CN display simplified chinese langiage help Example: FdCmd.exe h=CN DE display greman langiage help and exit Example: FdCmd.exe h=DE [drive] Specifies the device letter. Can be A...Z Example: Mount ImageFile.ISO to Fantom C/DVD first driver. FdCmd "C:\Documents and Settings\All Users\ImageFile.ISO" /M Mount ImageFile.ISO to Fantom C/DVD driver letter H. FdCmd H: "C:\Documents and Settings\All Users\ImageFile.ISO" /M [n] The value of 1...N*128 means the number of Fantom C/DVD devices Example: Mount ImageFile.ISO to Fantom C/DVD first driver. FdCmd 1 "C:\Documents and Settings\All Users\ImageFile.ISO" /M [host:target:lun] Specifies the device HOST/TARGET/LUN member. Please see /L option. HOST: SCSI Controller host id. Can be 0...n, Maximum host ID check windwos system. TARGET: SCSI Controller target id. Can be 0...128 LUN: SCSI Controller lun id. Fix 0. Example: Mount ImageFile.ISO to Fantom C/DVD SCSI Host 3/Target 1/Lun 0 driver. FdCmd 3:1:0 "C:\Documents and Settings\All Users\ImageFile.ISO" /M [filename] Specifies the image files. The image files will be mount or unmount. Filename support ANSI, Unicode, Multibyte character Sets(MBCS), Filename support ms-dos 8.3 filename or long filename. The sum of the fields should not exceed 260 ANSI character. Example: Mount ImageFile.ISO to Fantom C/DVD first driver. FdCmd "C:\Documents and Settings\All Users\ImageFile.ISO" FdCmd \\Computer\HDD\ImageFile.ISO FdCmd Image\ImageFile.ISO [/PA=c] Add tail Fantom C/DVD controller c: Add tail host count Example: FdCmd /PA FdCmd /PA=2 [/PR=c] Remove tail Fantom C/DVD controller c: Remove tail host count Example: Remove last host controller FdCmd /PR FdCmd /PR=2 [/TA=h,c] Add Fantom C/DVD target h: host id c: Add tail target count Example: In host:5 add tail one target C/DVD-ROM FdCmd /TA=5 In host:5 add tail two target C/DVD-ROM FdCmd /TA=5,2 [/TR:h,c] Remove tail Fantom C/DVD target h: host ID The value of SCSI controller host ID. c: Remove target count The value of 1...128 means the number. Example: In host:5 remove last target C/DVD-ROM FdCmd /TR=5 In host:5 remove two target C/DVD-ROM FdCmd /TR=5,2 [/AC=n] Add Fantom C/DVD Controller The n value of 1...16 means the number. Example: FdCmd /AC=1 [/AD=m,n] Add Fantom C/DVD Device The m value of SCSI controller HOST ID. The n value of 1...128 means the number. Example: FdCmd /AD=1,3 [/M] Specifies the image files are to be mount. Example: Mount first Fantom C/DVD-ROM FdCmd "C:\Documents and Settings\All Users\ImageFile.ISO" /M Mount first Fantom C/DVD-ROM FdCmd "C:\Documents and Settings\All Users\ImageFile.ISO" Mount Fantom C/DVD-ROM FdCmd ImageFile.ISO /M Mount Fantom C/DVD-ROM FdCmd "My Image File.ISO" /M [/U] Specifies the image files are to be unmount. Example: Unmount first Fantom C/DVD-ROM FdCmd "" FdCmd d0 /U FdCmd H: /U FdCmd 7: /U FdCmd 3:1:0 /U [/L] Display all Fantom C/DVD device driver. Example: FdCmd /L Hide ATIP Code Example: Diaplay driver list example: [/+D] Specifies the device enabled "hide ATIP code" option. Example: FdCmd /D FdCmd H: /D FdCmd 1 /D FdCmd 3:1:0 /D FdCmd 3:1:0 /+D [/-D] Specifies the device disable "hide ATIP code" option. Example: FdCmd /-D FdCmd H: /-D FdCmd 1 /-D FdCmd 3:1:0 /-D FDCMD [drive:] [n] [host:target:lun] [filename] [/h=nnn] [/?=nn] [/+-D] [/M] [/U] [/L] [@n=Command] [/+-S] Silent all message. Default is enabled. /+S Enabled all message. Example: FdCmd /Ins /+S /-S Disable all message. Example: FdCmd /Ins /-S [/Ins] Install Fantom C/DVD Driver Example: FdCmd /Ins FdCmd /Ins /-S [/Unins] uninstall Fantom C/DVD Driver Example: FdCmd /unins FdCmd /unins /-S [/V=DB|DP|IB|IP] [/V] Display FdCmd.exe version Example: FdCmd /V [/V=DB] Display Fantom C/DVD windwos system controller BUS version Example: FdCmd /V=DB [/V=DP] Display Fantom C/DVD windwos system controller PORT version Example: FdCmd /V=DP [/V=IB] Display Fantom C/DVD interface controller BUS version Example: FdCmd /V=IB [/V=IP] Display Fantom C/DVD interface controller PORT version Example: FdCmd /V=IP [@n=Command] Batch command mode switch. The n value of 1...10 means the number. The n value of nW means suspend execution. Specifies the time, in seconds, for which to suspend execution Example: FdCmd H: C:\ImageFile.ISO /M @C:\ImageFile.bat FdCmd H: C:\ImageFile.ISO /M @1=C:\ImageFile.bat @2=C:\ImageFile.bat FdCmd H: "C:\Documents and Settings\All Users\ImageFile.ISO" /M @"C:\Documents and Settings\All Users\ImageFile.bat" FdCmd H: C:\ImageFile.ISO /M @1:AutoRun\AutoRun.exe FdCmd H: C:\ImageFile.ISO /M @AutoRun\AutoRun.exe FdCmd H: C:\ImageFile.ISO /M @1=C:\TEMP\AudioPlay.exe FdCmd H: C:\ImageFile.ISO /M @1="C:\Program Files\PlayAudio.exe" FdCmd H: C:\ImageFile.ISO /M @1="C:\Program Files\PlayAudio.exe" @2="C:\Program Files\PhotoShow\PhotoShow.exe" FdCmd H: C:\ImageFile.ISO /M @1="C:\Program Files\PlayAudio.exe" @2W=10 @3="C:\Program Files\PhotoShow\PhotoShow.exe" Additional Information: For a description of all the FDCMD settings, see Fantom C/DVD onle help. 2006 An Chen Corporation