Performing multiple GDisk operations using batch mode .................... 65
Deleting and wiping your disk ........................................................ 66
Wiping Host Protected Areas (HPA)/PARTIES ............................. 69
Confirming a disk wipe ............................................................ 70
Activating or deactivating a partition .............................................. 71
Hiding or unhiding a partition ........................................................ 71
Modifying the Windows 2000/XP boot menu ..................................... 72
Specifying the boot.ini path and file name .................................. 73
Displaying the list of current boot entries ................................... 73
Adding an entry to boot.ini ...................................................... 73
Removing an entry from boot.ini ............................................... 76
Setting the default boot option and timeout ................................ 76
Support for large hard-disks .......................................................... 76
Chapter 6 Manipulating files and directories using
OmniFS ............................................................................ 79
About OmniFS ............................................................................. 79
OmniFS operating environments .................................................... 80
Using OmniFS ............................................................................. 80
Access method switches .......................................................... 81
Accessing files and folders with names that contain spaces ............ 83
Listing drive identifiers ........................................................... 83
OmniFS operations ....................................................................... 84
Setting the attribute for a file ................................................... 84
Copying files and directories .................................................... 85
Renaming files and folders ....................................................... 85
Deleting a file ........................................................................ 86
Deleting a folder .................................................................... 86
Listing a folder ...................................................................... 86
Listing all volumes on a computer ............................................. 86
Listing the commands ............................................................. 87
Displaying the OmniFS version and copyright ............................. 87
Creating a directory ................................................................ 87
Using OmniFS to recover files ........................................................ 87
Using a script file ......................................................................... 89
OmniFS scenarios ........................................................................ 90
Using OmniFS from the command line ....................................... 90
Using OmniFS with a script file ................................................ 90
Using OmniFS with a batch file ................................................. 90
OmniFS error handling ................................................................. 91
Correcting the date and time .......................................................... 91
9Contents