Casio PA-2400W manual Transmission file pathname, Destination directory pathname

Page 59

Title

 

Command

FLCE /S

This command transfers a file on the PA-2400W to the communication partner side of PA-2400W. If an identical file name exists in the destination directory of the partner side, it will be overwritten.

If the directory that is specified as the destination directory does not exist, it will be automatically created.

￿The progress of file transfer will be displayed.

File pathnames will be processed in order from the left of the command line. If any of the file pathnames to be transmitted do not exist on the PA-2400W side, the FLCE is immediately terminated by an error, and file pathnames placed at the right of that pathname will no longer be transmitted.

￿C Language Interface￿

Calling Sequence￿

FLCE

/S[<Option>] <Transmission file pathname> [<Transmission file pathname>] [...]

<Pathname of destination directory>

￿

(Parameters in [ ] can be omitted.)

Parameters￿

Option O: Specification of forced overwrite of read-only file

If this option is specified, even read-only file will be overwritten.

If an overwrite is attempted for read-only file and this option is not specified, this command will be abnormally terminated

R: Recursive call

All the files that exist under the directory specified by the transmission file pathname are used as the objective of file transfer.

If the specified directory has any sub-directories, they will be also included in the destination directories for the file transmission.

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

Even if this option is specified, the transmission file pathname should be specified by the full pathname.

If this option is not specified, only a file that is designated by the transmission file pathname can be the objective of processing.

Transmission file pathname

Specify a file that exists on the PA-2400W side by its full pathname.

To specify all files enter "*.*" as file name.

A wild card can be used for file name.

Directory names or file names can be described using 2-byte code characters

Destination directory pathname

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 by specified name.

Enter a "\" as the delimiter of directory name. If not, it will result a parameter error. A wild card can be used for the file name.

￿Directory names can be described using 2-byte code characters.

Name the destination side directory pathname in accordance with the naming rules of the

communication partner-side OS.

Example:

“d:\”

Root directory specification

 

“d:\casio\12\”

Sub-directory specification

￿

“d:\casio”

Incorrect specification.

Startup Examples￿

FLCE /S "\casio\*.dat" "d:\casiodat\"

This transfers file that is located in the "casio" directory of the PA-2400W which has a "dat"

￿extension to the "d:\casiodat\" directory of the communication partner side of PA-2400W.

FLCE /SR "\casio\*.dat" "d:\casiodat\"

This transfers all files under the "casio" directory (including the sub-directories) of the PA-2400W which have a "dat" extension to the "d:\casiodat\" directory of the communication partner side.

59

Image 59
Contents Version PA-2400W Library ManualTable of Contents Fchkce /G Fchkce /C Casio PrefaceSIPanel Library Bootup LibrarySupported Files System LibraryHost PC PA-2400W Copy System configurationSIPanel Library 3 I/O Bootup LibraryDedicated Library and Utility System Library File Check Utility File Transfer UtilityDevelopment Environment System Library Overview Header #include CasioSys.h Remarks Details of FunctionTitle Function Parameters None Return ValuesTurns off the backlight Language Interface Calling Sequence Backlight is off TrueBacklight is on FalseHeader #include CasioSys. h Remarks DisablePowerOff Bool EnablePowerOff Header Disable the power to be turned off with the power buttonEnable the power to be turned off with the power button Bool ApoCountReset Void SoftReset Parameters Bool bMode Disables automatic power-on with the alarmInternal error Language Interface Calling SequenceBool GetPowerOnAlarm Default Sample program to acquire power-on event notification Bool GetPowerEventStat SIPANEL.EXE SIPanel Library OverviewSIPANEL.DLL Registry Use of SIPanel LibraryRestrictions Program for starting up the libraryLpctstr lpParam Siphide SipshowSample program to start up the SIPanel Lptstr HinstanceHbCallText = CreateWindow TEXTbutton, TEXTText Area Sample program of application software for business useTchar ClassName = Text CallSip Tchar ClassNameTSR = TEXTSipTsrLpCmdLine HWnd = CreateWindowClassName, ClassNameWsvisible Wsoverlapped Wssysmenu Find SipTsr Sw,h Options of Command LinePx,y Port O Bootup Library OverviewFunction IOBOX1.DLLFail to call the function Infinite = No timeoutDword 294,967,295 msec. equals to InfiniteUse of ioboxchk Sequential ModeMultiple-Thread Mode = Null Sample ProgramHwnd Null WsoverlappedWINDOWWIDTH/2 WINDOWHEIGHT/2Case Wmpaint Wait for 5 seconds Registry of Libraries Disable the power on by alarmEnable the power on event notification IrDA 1.0 Interface File Transfer Utility OverviewRS-232C Interface List of Supported Commands Input Parameter Use of FlceTermination of Flce OperationRestrictions Overwrite Communication CommandsOptions Types of ArgumentsMethod of Describing Pathname Storage Card PC card My Documents Internal RAM ReferenceWindows CE Windows95 /Windows NT Required Error if omittedSpecifying Non-existing File DOSSetting Up Items Setting Up RegistryDword Disp1 Setting Up Registry with User ApplicationHkey hKey1 Long lReg1Return err Err=FALSE Else If err==TRUEShould take an action that is appropriate to each definition Termination CodesError Code Meaning Possible Cause Remedy Method of Creation Log FileLog File Name Location of Log File12Precautions Details of Command and Option Flce /SR \casio\*.dat d\casiodat\ Transmission file pathnameDestination directory pathname Flce /S \casio\*.dat d\casiodat\Flce /RR a\12\*.dat d\casio\*.* \casio data\ PathnamePathname of requested file \12\*.dat d\casio\*.* \casio data\Flce /A \MY\casio.dat b\your\master.dat Appended file pathnameTarget file pathname Pathname of file to be deleted Without the R option Flce /N a\12\kk.dat a\casio\sj.dat Source pathnameDestination pathname Flce /N a\ 12\kk.dat a\casio\Flce /SR \casio ap\*.* \casio ap\ /T Parameters None SetupExampleSession between PA-2400W-and-PA-2400W Session with PCFlce casio.scr Flce /Y=COM1, , casio.scrIdle notification Command and Status\soft\ Retry Process When Downloading FileRetry Method Preparation at PCRetry.scr RestrictionPreparation at PA-2400W File Check Utility Overview List of CommandsOperation Operation MethodDownloading file from PC to PA-2400W Copy PC card Copying file with PC card from PA-2400W to PA-2400WTransmission side PA-2400W Describing Method 1Pathname Example of Incorrect Startup no /G or /C option Details about Command and OptionExamples of specification for command and option Examples of Correct StartupCommand of Fchkce 1Generation of List File Comparison by List File FILENO=3 \AP\MENU.EXE 12345 \CONFIG.SYS 1000 \AUTOEXEC.BAT 512Format of List File ExampleChildproccmd = C Syntax Analysis of Script FileOption = Recursiveoption Updateoption Recursiveoption = R Error Messages/Codes Restriction File name list or Script file name Option /SCSpecification of a script file nameSpecification of recursive call AO Append outputFchkce /G /R \casio\ .dat \casio data\ \casio\ Destination directory nameFCHK.LOG file output directory name \casio\ .dat \casio data\ \casio\Fchkce /C \casio data\ Does not compare the update dataOption FCHK.LOG file pathname