O&O BlueCon 21 Product manual

O&O BlueCon 21 
Command Index

US$
Buy now

Microsoft PowerShell lets you control O&O BlueCon with scripting. The Command Index below lists all commands, their syntax and parameters. If you need help on a particular command, you can use the /? switch to display a short description of the syntax and the command's purpose.

attrib
Displays or changes file attributes. This command displays, sets, or removes the read-only, archive, system, hidden and compressed attributes assigned to files or folders.

attrib

Displays or changes file attributes. This command displays, sets, or removes the read-only, archive, system, hidden, and compressed attributes assigned to files or folders.

Syntax

attrib [+ | - ] [rash] [<Drive:>][<Path>][<filename>]

Parameters

 

<Drive:>
<Path>
<Filename>

Indicates the path and name of the folder, file, or files you want to edit.

+

Sets attributes.

-

Clears attributes.

r

Read-only file attribute.

a

Archive file attribute.

s

System file attribute.

h

Hidden file attribute.

 

cd

Displays the name of the current folder or changes the current folder.

Syntax

cd [[<Drive:>]<Path> | .. ]

Parameters

 

None

Used without parameters, cd displays the names of the current drive and folder.

<Drive:>
<Path>

Indicates the drive (if different from the current drive) and folder to which you want to change.

..

Indicates that you want to change to the parent folder.

Example:

C:>Windowstest>cd ..

 

cls

Clears the screen. The cleared screen shows only the command prompt and cursor.

Syntax

cls

Parameters

None

 

copy

Copies one or more files to another location.

Syntax

copy <Source> <Target>

Parameters

 

<Source>

Indicates the location and name of a file or group of files you want to copy.The name can consist of a drive letter and colon, a folder name, a filename or a combination of all these. You may use wildcards to indicate a group of files.

<Target>

Indicates the path to the folder where you want to copy something. The target can consist of a drive letter and colon, a folder name, a filename or a combination of all these.

Example:

copy C:test D:test

 

del

Deletes specified files.

Syntax

del [<Drive:>][<Path>]<Filename>

Parameters

 

<Drive:>
<Path>
<Filename>

Indicates the path and name of the file you want to delete. You can use wildcards to indicate a group of files.

Example:

del C:test.txt

 

deltree

Deletes a selected folder.

Syntax

deltree [<Drive:>]<Path>

Parameters

 

<Drive:>
<Path>

Indicates the path and name of the folder you want to delete. Subfolders and files in this folders will also be deleted.

 

 

Example:

deltree C:Windowstest*.*

 

device / service

Entering the command 'device' or 'service' launches the O&O DeviceManager, It displays all installed drivers and services. It is also possible to change the startup point. (see O&O DeviceManager)

dir

Displays a list of files and subfolders in one folder.

Syntax

dir [/p] [<Drive:>][<Path>][<filename>]

Parameters

/p

None

Used without parameters or switches, 'dir' displays the hard disk's name and serial number: one folder including the file extension per line, the file size in bytes, the total number of listed files, their cumulative size, and the amount of disk space on the drive(in bytes)that's still available.

/p

Displays one screen of the listing at a time. Press the space bar to display the next screen. Any other key cancels the process.

<Drive:>
<Path>

Indicates the drive and folder you want to see listed.

<Filename>

Displays the file, providing it is in the selected folder.By using wildcards, it's possible to have a group of files displayed.

Example:

dir /p

 

edlin

Entering the command 'edlin' will launch the O&O Notepad. O&O Notepad is a basic text editor that allows you to view, edit and save text files. Files in ASCII and Unicode may be edited using O&O Notepad.

 

Exit

Closes Microsoft PowerShell.

Syntax

exit

Parameters

None

 

help

Lists all available commands with short descriptions. If you need help on a particular command, you can use the /? switch to display a short description of the syntax and the command's purpose.

Syntax

help

Parameters

None

 

info

Displays information about the file system and drives.

Syntax

info { hdd | <Drive:> }

Parameters

 

Hdd

Displays information about available drives.

<Drive:>

Indicates the drive whose information (MFT location, cluster size, number of sectors, etc.) you'd like to see.

 

mkdir

Creates a folder or subfolder.

Syntax

mkdir [<Drive:>]<Path>

Parameters

 

<Drive:>

Indicates the drive on which you want to create the new folder.

<Path>

Indicates name and path of the new folder. The maximum length of any single path is determined by the file system.

Example:

mkdir C:test

 

passwd

Changes or removes the password for a user account.

Syntax

passwd <User account> [<password>]

Parameters

 

<user account>

The user account whose password will be changed or removed.

<Password>

The new password for the user account. An empty password resets the current password, i.e. the password is deleted.

 

 

Example:

passwd administrator test

 

rename

Changes the name of a file. You cannot use the rename command to rename files across drives or to move files to a different folder location.

 

Syntax

rename [<Drive:>][<Path>]<alt>[<Path>]<neu>

Parameters

 

<Drive:>

Indicates the drive where the name of the selected file should be changed.

<Path>

Specifies the location of the file to be renamed. The maximum length of any single path is determined by the file system.

<alt>

Indicates the name of the file you want to rename.

<New>

Indicates the new name for the file. The path is relative to the current path.

Example:

rename C:testtest.txt test1.txt

 

rmdir

Deletes (removes) a folder.

Syntax

rmdir [<Drive:>]<Path>

Parameters

 

<Drive:>

Indicates the drive where you want to delete the selected folder.

<Path>

Indicates the name and path of the folder that should be deleted. The maximum length of any single path is determined by the file system.

 

safeerase

Securely deletes files or drives.

Syntax

safeerase [/<Security level>] [/output <File>] [/verbose] [/silent] [/help] [/showdisks] [/matchfile] [/matchfolder] [/matchall] [/volume <Drive>] [/disk <Hard disks#>] [/freespace <Drive>] [/y]

Parameters

 

None

Help text will be displayed.

/highestsecurity

/highsecurity

/mediumsecurity

/lowsecurity

/lowestsecurity

The available security levels. They refer to the deletion methods described. If no security level is chosen, the default is /highest security.

/output <File>

Saves the output additionally to a file.

/verbose

Detailed output will be shown.

/silent

Screen output will not be shown.

/help, /?

Help will be shown.

/showdisks

Displays drive and hard disk information. The disks will be numbered so that the numbers can be used with the command /disk.

/matchfile

Only matching files will be deleted. (Standard) Use the 'match' command in combination with a file filter (e.g. *.txt, a?c.exe)

/matchfolder

Only matching folders will be deleted.

/matchall

Matching files and folders will be deleted.

/volume <Drive>

Deletes the entire content of the drive.

/disk <Hard disks#>

Deleted the entire hard disk.

/freespace <Drive>

Deletes free space on the drive.

/y

All security checks will be suppressed.

Examples:

safeerase example.txt /output test.log

– The text file is deleted with the highest security method and the output saved in the file test.log.

safeerase /matchfile *.txt /silent /mediumsecurity

– All text files in the current folder are deleted with the medium security level without output to screen.

safeerase /freespace C: /verbose

– The free space on C: is deleted with the highest security method and detailed output.

safeerase /volume D: /y /lowsecurity

- The content of the drive D: is deleted with a low security level and without security checks.

safeerase /disk 0

- All partitions on the first hard disk are completely deleted.

All parameters, apart from /help and /showdisks, can be combined with one another.

 

scopy

Copies one or more files to another location. If the files lie on an NTFS Drive, they retain the security and ownership attributes.

Syntax

scopy <Source> <Target>

Parameters

 

<Source>

Specifies the path and name of a file or file group which will be copied from. <Source> can consist of drive name and colon, folder name, file name or a combination thereof. To specify a group of files, you may use wildcards.

<Target>

Indicates the path and name of a file or file group in which something will be copied. <Target> can consist of drive name and colon, folder name, file name or a combination thereof.

 

type

Displays the contents of a text file. Use the type command to view a text file without modifying it.

Syntax

type [/p] [<Drive:>][<Path>]<File name>

Parameters

 

/p

Displays one screen of the listing at a time. To see the next screen, press any key.
Press space bar to display the next screen. Any other key cancels the process.

<Drive:>
<Path>
<Filename>

Specifies the location and name of the file you want to view.

If using long filenames and if the filename contains spaces, you must enclose the filename within quotation marks (") or use the short (8.3 style) filename.

Example:

type C:testtest.txt

 

user

Displays a list of all local user accounts.

Syntax

user

Parameters

None

 

ver

Displays the version number of Microsoft PowerShell.

Syntax

ver

Parameters

None

 

vmap

Lists all mounted volumes, their mappings and additional information.

Syntax

vmap

Parameters

None

 

xcopy

Copies files and folders, including subfolders.

Syntax

xcopy [/e] [/s] <Source> <Target folder>

Parameters

 

/e

Copies all subfolders, even if they are empty.

/s

If the files are located on an NTFS volume, security and ownership attributes will be preserved.

<Source>

Indicates the path and name of a file or file group from which you want to copy.<Source> can consist of a drive letter and colon, a folder name, a filename or a combination. To specify a group of files, you may use wildcards.

<Target folder>

Indicates the path where you wish to copy. Target can consist of a drive letter and colon, a folder name, a filename, or a combination.

Example:

xcopy C:windowstest*.* D:test