Casio PA-2400W Option /SCSpecification of a script file name, Specification of recursive call

Page 81

8.11 Details of Command and Option

Title

Command

FCHKCE /G

If the names of files to be transferred (copied) from the PA-2400W are specified, this command will create a list of files to be transferred (copied) and a list file that contains the checksum data calculated from all the files to be transferred. It also calculates the checksum data of this list file.

The maximum number of objective files that can be logged is 65,000.

The maximum size of a script file is 3,200 bytes.

￿C Language Interface￿

Calling Sequence￿

 

FCHKCE /G [</Option>] <file name list or script file name > <Destination directory name >

 

[<FCHK.LOG file output directory name>]

 

(Parameters in [ ] can be omitted.)

Return Value￿

￿

Return code (refer to Chapter 8.9 “Error Messages/Codes”.)

Parameters￿

Option /SC:￿Specification of a script file name

The objective script file is specified by this parameter to indicate the file name.

FCHKCE.EXE will analyze the file names to be transmitted against the contents of this script file and then create a list file.

/R: Specification of recursive call

All the files that exist under the directory specified by the parameter of the file pathname are used as the objective of creating a list file. If the specified directory has sub-directories, files located in them are also used as the objective of creating a list file.

The hierarchical directory system has a maximum depth of sixteen levels.

If this option is not specified, only files that are designated by the file names list can be the objective of list file creation.

/AO: Append output

If the FCHK.LOG file exists in the directory specified by [FCHK.LOG file output directory name], log file will be created and appended to the FCHK.LOG file.

If the FCHK.LOG file does not exist in the directory specified by [FCHK.LOG file output directory name], a new log file will be created. (However, if the specified directory itself does not exist, this command will be abnormally terminated.)

￿This append output is achieved in such a simple way that a new list file is appended to the end of

existing list file. If part of the existing list file needs to be modified, create a list file again instead of performing this append output.

File name list or Script file name

￿Describe the list of files to be transmitted (copied). These files should be located on the transmission (copy) source side. As the last input parameter of this command describe the destination directory name of the communication partner side. If the specified directory does not exist, it will be automatically created under the specified name. If specifying multiple transmission (copy) source file names, separate the pathnames with a space (1-byte).

A wild card can be used for file name.

￿If the “/SC” option is specified, also specify the pathname of the script file.

81

Image 81
Contents Version PA-2400W Library ManualTable of Contents Fchkce /G Fchkce /C Casio PrefaceSupported Files Bootup LibrarySystem Library SIPanel LibraryHost PC PA-2400W Copy System configuration3 I/O Bootup Library Dedicated Library and Utility System LibrarySIPanel Library File Check Utility File Transfer UtilityDevelopment Environment System Library Overview Title Function Details of FunctionParameters None Return Values Header #include CasioSys.h RemarksTurns off the backlight Language Interface Calling Sequence Backlight is on TrueFalse Backlight is offHeader #include CasioSys. h Remarks DisablePowerOff Bool EnablePowerOff Disable the power to be turned off with the power button Enable the power to be turned off with the power buttonHeader Bool ApoCountReset Void SoftReset Internal error Disables automatic power-on with the alarmLanguage Interface Calling Sequence Parameters Bool bModeBool GetPowerOnAlarm Default Sample program to acquire power-on event notification Bool GetPowerEventStat SIPanel Library Overview SIPANEL.DLLSIPANEL.EXE Restrictions Use of SIPanel LibraryProgram for starting up the library RegistryLpctstr lpParam Siphide SipshowSample program to start up the SIPanel Lptstr HinstanceTchar ClassName = Text CallSip Sample program of application software for business useTchar ClassNameTSR = TEXTSipTsr HbCallText = CreateWindow TEXTbutton, TEXTText AreaHWnd = CreateWindowClassName, ClassName Wsvisible Wsoverlapped WssysmenuLpCmdLine Find SipTsr Options of Command Line Px,ySw,h Function O Bootup Library OverviewIOBOX1.DLL PortDword Infinite = No timeout294,967,295 msec. equals to Infinite Fail to call the functionSequential Mode Multiple-Thread ModeUse of ioboxchk Sample Program Hwnd= Null WINDOWWIDTH/2 WsoverlappedWINDOWHEIGHT/2 NullCase Wmpaint Wait for 5 seconds Disable the power on by alarm Enable the power on event notificationRegistry of Libraries File Transfer Utility Overview RS-232C InterfaceIrDA 1.0 Interface List of Supported Commands Termination of Flce Use of FlceOperation Input ParameterRestrictions Options Communication CommandsTypes of Arguments OverwriteMethod of Describing Pathname Storage Card PC card My Documents Internal RAM ReferenceSpecifying Non-existing File Windows95 /Windows NT Required Error if omittedDOS Windows CESetting Up Items Setting Up RegistryHkey hKey1 Setting Up Registry with User ApplicationLong lReg1 Dword Disp1Return err Err=FALSE Else If err==TRUEShould take an action that is appropriate to each definition Termination CodesError Code Meaning Possible Cause Remedy Log File Name Log FileLocation of Log File Method of Creation12Precautions Details of Command and Option Destination directory pathname Transmission file pathnameFlce /S \casio\*.dat d\casiodat\ Flce /SR \casio\*.dat d\casiodat\Pathname of requested file Pathname\12\*.dat d\casio\*.* \casio data\ Flce /RR a\12\*.dat d\casio\*.* \casio data\Appended file pathname Target file pathnameFlce /A \MY\casio.dat b\your\master.dat Pathname of file to be deleted Without the R option Destination pathname Source pathnameFlce /N a\ 12\kk.dat a\casio\ Flce /N a\12\kk.dat a\casio\sj.datFlce /SR \casio ap\*.* \casio ap\ /T Parameters None SetupExampleFlce casio.scr Session with PCFlce /Y=COM1, , casio.scr Session between PA-2400W-and-PA-2400WIdle notification Command and StatusRetry Method Retry Process When Downloading FilePreparation at PC \soft\Restriction Preparation at PA-2400WRetry.scr File Check Utility Overview List of CommandsOperation Method Downloading file from PC to PA-2400WOperation Copying file with PC card from PA-2400W to PA-2400W Transmission side PA-2400WCopy PC card Describing Method 1Pathname Examples of specification for command and option Details about Command and OptionExamples of Correct Startup Example of Incorrect Startup no /G or /C optionCommand of Fchkce 1Generation of List File Comparison by List File Format of List File \AP\MENU.EXE 12345 \CONFIG.SYS 1000 \AUTOEXEC.BAT 512Example FILENO=3Childproccmd = C Syntax Analysis of Script FileOption = Recursiveoption Updateoption Recursiveoption = R Error Messages/Codes Restriction Specification of recursive call Option /SCSpecification of a script file nameAO Append output File name list or Script file nameFCHK.LOG file output directory name Destination directory name\casio\ .dat \casio data\ \casio\ Fchkce /G /R \casio\ .dat \casio data\ \casio\Option Does not compare the update dataFCHK.LOG file pathname Fchkce /C \casio data\