|
GadgetSeed
0.9.6
|
ファイル操作コマンド [詳解]
#include "sysconfig.h"#include "shell.h"#include "device.h"#include "fs.h"#include "str.h"#include "tprintf.h"#include "tkprintf.h"#include "storage.h"#include "file.h"#include "charcode.h"#include "dtprintf.h"#include "datetime.h"#include "batch.h"
関数 | |
| static char * | fsize2str (t_size size) |
| static char * | fsize2lstr (unsigned long size) |
| static char * | fdate2str (t_time datetime) |
| static char * | fdate2lstr (t_time datetime) |
| static void | print_fresult (char *path, FRESULT fr) |
| static int | scan_files (unsigned char *path, unsigned int len) |
| static int | mount (int argc, uchar *argv[]) |
| static int | umount (int argc, uchar *argv[]) |
| static int | diskfree (int argc, uchar *argv[]) |
| static int | dir (int argc, uchar *argv[]) |
| static int | dirv (int argc, uchar *argv[]) |
| static int | delete (int argc, uchar *argv[]) |
| static int | fdump (int argc, uchar *argv[]) |
| static int | operation (int argc, uchar *argv[]) |
| static int | batch (int argc, uchar *argv[]) |
変数 | |
| static unsigned int | now_time |
| static unsigned long | acc_size |
| static unsigned short | acc_files |
| static unsigned short | acc_dirs |
| static const struct st_shell_command | com_file_mount |
| デバイスをマウントする [詳解] | |
| static const struct st_shell_command | com_file_umount |
| デバイスをアンマウントする [詳解] | |
| static char | defdrive [FF_MAX_LFN+1] = "0:/" |
| static const struct st_shell_command | com_file_diskfree |
| ドライブの空き容量を表示する [詳解] | |
| static const struct st_shell_command | com_file_dir |
| ドライブのファイルリストを表示する [詳解] | |
| static const struct st_shell_command | com_file_dirv |
| ドライブのファイルリスト詳細を表示する [詳解] | |
| static const struct st_shell_command | com_file_delete |
| ファイルを削除する [詳解] | |
| static const struct st_shell_command | com_file_fdump |
| ファイルの内容をダンプ表示する [詳解] | |
| static const struct st_shell_command | com_file_operation |
| ファイルをアプリケーションで実行する [詳解] | |
| static const struct st_shell_command | com_file_batch |
| バッチファイルを実行する [詳解] | |
| static const struct st_shell_command *const | com_file_list [] |
| const struct st_shell_command | com_file |
| ファイル操作 [詳解] | |
ファイル操作コマンド
file コマンドには以下のサブコマンドがあります。
| サブコマンド | 機能 | 詳細 |
|---|---|---|
| mount | デバイスをマウントする | com_file_mount |
| umount | デバイスをアンマウントする | com_file_umount |
| free | ドライブの空き容量を表示する | com_file_diskfree |
| dir | ドライブのファイルリストを表示する | com_file_dir |
| delete | ファイルを削除する | com_file_delete |
| fdump | ファイルの内容をダンプ表示する | com_file_fdump |
| operation | ファイルをアプリケーションで実行する | com_file_operation |
| batch | バッチファイルを実行する | com_file_batch |
com_file.c に定義があります。
| const struct st_shell_command com_file |
ファイル操作
com_file.c の 895 行目に定義があります。
|
static |
バッチファイルを実行する
com_file.c の 803 行目に定義があります。
|
static |
ファイルを削除する
com_file.c の 623 行目に定義があります。
|
static |
ドライブのファイルリストを表示する
com_file.c の 458 行目に定義があります。
|
static |
ドライブのファイルリスト詳細を表示する
com_file.c の 538 行目に定義があります。
|
static |
ドライブの空き容量を表示する
com_file.c の 312 行目に定義があります。
|
static |
ファイルの内容をダンプ表示する
com_file.c の 655 行目に定義があります。
|
static |
com_file.c の 873 行目に定義があります。
|
static |
デバイスをマウントする
com_file.c の 242 行目に定義があります。
|
static |
ファイルをアプリケーションで実行する
com_file.c の 772 行目に定義があります。
|
static |
デバイスをアンマウントする
com_file.c の 281 行目に定義があります。