Join Today
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32
  1. #1
    Senior Member
    Join Date
    Nov 2009
    Posts
    232
    Thanks (Given)
    0
    Thanks (Received)
    0

    Default [INFO] Scriptinit.txt file format

    Hi

    * ------------------------------------------------------------------------------
    * Rfs Script Format:
    * ------------------------------------------------------------------------------
    *
    * Normal rfs and deep rfs operations can be done simply with single client
    * requests ( PerformRfs()-method ). It is also possible to specify a special rfs
    * script that is used to achieve the desired operation. The script can be in a
    * file or in a descriptor and it consists of RFS commands separated by line
    * ends. There must not be more than one command per line. Extra white space is
    * allowed in lines. The setting_name parameter in SD-command is case-sensitive
    * due to fact that SharedData keywords are too, but everything else is case-
    * insensitive. "#" or "//" can be used for commenting out the rest of the line
    * but the comment characters need to be in the beginning of the line or there
    * must be white space between the last parameter and the comment. C-style
    * commenting is not supported. Wildcards (?, *) can be used in all file/path
    * names. Any parameter can be enclosed with quotation marks for allowing spaces
    * in file names.
    *
    * NOTE! A file that contains an rfs script must be saved in UNICODE format!
    *
    * List of rfs commands: (mandatory parameters in <>, optional parameters in &#91;])
    *
    * ------------------------------------------------------------------------------
    * CD <path>
    * Changes the default path. A full path including a drive letter must be given
    * and there MUST be a trailing "\" in the end of the path. If full file names
    * are not given in target parameters of other RFS commands, they are assumed to
    * be relative to the current default path. This command is added for reducing
    * the sizes of RFS scripts. Note that the source file parameter in CP command
    * has to contain a full path always.
    * ------------------------------------------------------------------------------
    * DEL <filename>
    * Deletes the file(s). File name has to contain full path. Can't delete a
    * directory with this. Wildcards can be used in the filename.
    * ------------------------------------------------------------------------------
    * RD <directoryname>
    * Removes the directory and the whole directory structure under it, recursively.
    * All files in directories are deleted, too. Directory name has to contain full
    * path. NOTE! There MUST be a trailing "\" in the end of the path.
    * ------------------------------------------------------------------------------
    * MD <directoryname>
    * Creates the directory structure given as a parameter. Directory name has to
    * contain full path and there MUST be a trailing "\" in the end of the path.
    * ------------------------------------------------------------------------------
    * CP <source_filename> [destination_filename]
    * Copies the source file to the destination file. Source file name has to
    * contain full path. Destination file name, if given, can be relative to the
    * default path given with CD command. This command creates the target directory
    * if it doesn't exist and it can be used to copy whole directory structures
    * recursively. Wildcards can be used. If the destination file name is not given,
    * the same file name as in source file(s) will be used, but the destination
    * drive is changed to C: ( useful when copying from Z: )
    * ------------------------------------------------------------------------------
    * SD <uid> [setting_name1] [setting_name2] [setting_name3] ...
    * Restores the setting(s) stored in Series 60 shared data files to the original
    * values that are stored in ROM. Uid of the shared data file has to consist
    * exatly from 8 hex numbers. If the setting_name parameters are given, only
    * those settings are restored, otherwise the whole shared data file is restored.
    * ------------------------------------------------------------------------------
    * PLUGINS [plugin1] [plugin2] [plugin3] ...
    *
    * ------------------------------------------------------------------------------
    * DOS <level>
    * Restores all settings located in DOS side. Normal RFS level is 0, deep RFS
    * level is 1.
    * ------------------------------------------------------------------------------
    * FORMAT <drive>
    * Formats the whole drive erasing all contents. Drive definition must be exactly
    * the drive letter followed by a colon.
    * ------------------------------------------------------------------------------
    *
    * Example script: (all commands are in the correct format)
    *
    * CD C:\system\data\
    * // changes the default directory, notice the trailing '\'
    *
    * DEL myfile.ini
    * // deletes a file relative to default path
    * // (target is C:\system\data\myfile.ini)
    *
    * DEL C:\system\data\apps\myapp\settings.dat
    * // deletes a file
    *
    * DEL "C:\system\data\apps\myapp\other setting with long file name.dat"
    * // deletes a file
    *
    * DEL C:\system\data\apps\myapp\*
    * // deletes recursively everything under directory C:\system\data\apps\myapp\
    *
    * RD C:\system\data\apps\myapp\
    * // removes directory and its contents
    *
    * MD C:\system\testdata\
    * // creates directory, notice the trailing '\'
    *
    * CP Z:\system\backup\mysetting.dat C:\system\data\mysetting.dat
    * // copies a file to the specified target location
    *
    * CP Z:\system\backup\mydir\* C:\system\data\mydir\
    * // copies recursively everything under Z:\system\backup\mydir\
    * // to C:\system\data\mydir\
    *
    * CP Z:\system\data\mysetting.dat
    * // copies Z:\system\data\mysetting.dat to C:\system\data\mysetting.dat
    *
    * CP Z:\system\data\mydir\*
    * // copies recursively everything under Z:\system\data\mydir\
    * // to C:\system\data\mydir\
    *
    * SD 100059a4
    * // Restores the whole shared data file which has the uid 0x100059a4.
    * // this is done by deleting the possible shared data file in C: after which
    * // the default file in Z: will be automatically used by shared data server.
    *
    * SD 100059a4 VmbxNumber
    * // Restores the setting "VmbxNumber" in a shared data file 100059a4.ini.
    * // Default value is taken from a default shared data file in ROM.
    *
    * FORMAT C:
    * // formats the drive C: erasing all contents
    *
    */

  2. #2
    Senior Member
    Join Date
    Jan 2010
    Posts
    202
    Thanks (Given)
    0
    Thanks (Received)
    0

    Default Re: [INFO] Scriptinit.txt file format

    your posts are so genius mate!!! Keep on going!! :P

  3. #3
    Member
    Join Date
    Aug 2009
    Posts
    84
    Thanks (Given)
    0
    Thanks (Received)
    0

    Default Re: [INFO] Scriptinit.txt file format

    will scriptinit.txt be executed when i use *#7370*? thanks for this... ^_^

  4. #4
    Senior Member
    Join Date
    Sep 2009
    Posts
    537
    Thanks (Given)
    0
    Thanks (Received)
    0

    Default Re: [INFO] Scriptinit.txt file format

    Quote Originally Posted by jpx3m
    will scriptinit.txt be executed when i use *#7370*? thanks for this... ^_^
    ofcuz

    ---------------------------
    some add

    CR - is creat a special file - system only
    DL - diff. syntax of DEL


  5. #5
    Senior Member
    Join Date
    Jul 2009
    Posts
    411
    Thanks (Given)
    0
    Thanks (Received)
    0

    Default Re: [INFO] Scriptinit.txt file format

    can I create folders on the Memory Card with MD command? I tried last time with no success, I think it's probably because I didn't add a "\" at the end.

  6. #6
    Member
    Join Date
    Feb 2010
    Posts
    36
    Thanks (Given)
    0
    Thanks (Received)
    0

    Default Re: [INFO] Scriptinit.txt file format

    Thank you symbian MASTER!!

    for the command DEL ??

    can i use it to del somefile from Z drive?
    like tones, songs.......??

  7. #7
    Member
    Join Date
    Feb 2010
    Posts
    92
    Thanks (Given)
    0
    Thanks (Received)
    0

    Default Re: [INFO] Scriptinit.txt file format

    Quote Originally Posted by KBJ911
    Thank you symbian MASTER!!

    for the command DEL ??

    can i use it to del somefile from Z drive?
    like tones, songs.......??
    GREAT IDEA!!

  8. #8
    Junior Member
    Join Date
    Oct 2009
    Posts
    24
    Thanks (Given)
    0
    Thanks (Received)
    0

    Default Re: [INFO] Scriptinit.txt file format

    OK.So i have an idea, and I need someone to test it or answer if this could work.

    This is only example:

    I want 100% working x-plore in my cooked FW, so is it posible to edit scriptinit file in that way, that it creates(copys) files and folders from z\x-plore to right folders on c:\ ?

    For those who dont understand why I simply dont install x-plore on c:\, I want to have it after hardreset.

  9. #9
    Senior Member
    Join Date
    Feb 2010
    Posts
    126
    Thanks (Given)
    0
    Thanks (Received)
    0

    Default Re: [INFO] Scriptinit.txt file format

    >>GREAT IDEA!!

    Don't work.

  10. #10
    Senior Member
    Join Date
    Jan 2010
    Posts
    5,573
    Thanks (Given)
    2
    Thanks (Received)
    1

    Default Re: [INFO] Scriptinit.txt file format

    Great thread.. Thnx for the info bro.. Would be very useful ...


 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. How to hard format 7370
    By Prinzedbeck in forum Nokia S40 and S40 Touch Forum
    Replies: 3
    Last Post: 07-02-2010, 10:28 AM
  2. Replies: 7
    Last Post: 04-27-2010, 11:32 AM
  3. Format iPhone
    By twassim in forum iPhone Forum
    Replies: 5
    Last Post: 12-08-2009, 01:17 AM
  4. How To Format The Memory Card
    By Adiga0kal in forum Symbian S60v5 Forum
    Replies: 8
    Last Post: 11-27-2009, 02:17 PM
  5. How to format samsung u600?
    By shafiqak in forum Other Phones
    Replies: 4
    Last Post: 06-17-2009, 04:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •