Data Access in Batch mode
With UFS Explorer Batch Access you may do same things that with UFS Explorer Standard Access, but in command line or batch modes.
Command set of UFS Explorer Batch Access is available through its 'help' command.
UFS Explorer Batch Access can handle its commands from built-in command line interpreter (run UFS Explorer Batch Access with no parameters) or from script file (run UFS Explorer Batch Access with parameter: script file name).
The built-in commands are:
- help - print help message;
- disks - print list of disks.
- disk - open hard disk or disk image.
The syntax is either:
disk #[n], where n - disk number. Use 'disks' command for list.
or
disk [disk image file name;
- parts - print list of partitions. Disk must be selected with 'disk'.
- part - use disk partition. Disk must be selected with 'disk'.
The syntax is: part #[n]
where n - partition number. Use 'parts' command for list.
- probe - use disk partition with probe file system.
Disk must be selected with 'disk'.
- ls - list current folder contents.
- cd - change current folder. The syntax is: cd [folder].
To start from root directory, specify leading '/' symbol.
- pcd - Print current folder full path.
- wd - change 'local' working folder. The syntax is: wd [local folder].
- pwd - Print 'local' working folder full path.
- extr - Extract file or folder to current working 'local folder'.
The syntax is: extr [path].
Set 'local working folder' with 'wd' command before use.
- exit - Exit the program.
Script is processed line-by-line and here is example script:
disk #0
part #0
wd d:\sync
extr /home/rob
cd /etc
extr fstab
disk e:\vm\Linux\Linux.vmdk
parts
It does:
1) Chooses physical disk 0;
2) Chooses partition 0 (assume Linux);
3) Sets local working directory to d:\sync;
4) Extracts folder /home/rob (to d:\sync);
5) Changes dir to /etc;
6) Extracts fstab file (to d:\sync);
7) Opens virtual disk e:\vm\Linux\Linux.vmdk;
8) Lists partition on the virtual disk.
To run this script, use command: ufsxbatch.exe scriptfile
log will be printed to stdout and could be redirected to file
with command: ufsxbatch.exe scriptfile >logfile.log
Requirements
| OS: | Windows 2000/XP/2003/Vista |
| Client Software: | UFS Explorer Batch Access |
| File system: | ANY |
See also: Data Access with GUI-based editions, Help topics.
|
|