Tag Archive: command line

Apr 16 2008

Working with DOS Command Line

Objectives The objectives of this article are : Learn how to use DOS command lines in QTP. Alternative complex tasks. Alternative .NET methods. cmd.exe allows access to the Microsoft Windows Command Prompt, also known as Microsoft DOS. To-date, cmd.exe is a 32-bit command prompt used in Windows NT, 2000, and XP and offers disk and …

Continue reading »

Mar 31 2008

List all Files and Directories in a Specific Directory

Dir displays a list of files and subdirectories in a directory. DIR is a command used to display a list of files and subdirectories in a directory.. Windows 2000 and Windows XP syntax DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N] [/O[[:]sortorder]] [/P] [/Q] [/S] [/T[[:]timefield]] [/W] [/X] [/4] [drive:][path][filename] Specifies drive, directory, and/or files …

Continue reading »

Mar 31 2008

List only directories in a specific directory

Dir displays a list of files and subdirectories in a directory. DIR is a command used to display a list of files and subdirectories in a directory..   Windows 2000 and Windows XP syntax   DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N] [/O[[:]sortorder]] [/P] [/Q] [/S] [/T[[:]timefield]] [/W] [/X] [/4]   [drive:][path][filename]   Specifies …

Continue reading »

Mar 31 2008

List only Files and Folders in a Specific Directory and Sub-Directory

Dir displays a list of files and subdirectories in a directory. DIR is a command used to display a list of files and subdirectories in a directory.. Windows 2000 and Windows XP syntax DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N] [/O[[:]sortorder]] [/P] [/Q] [/S] [/T[[:]timefield]] [/W] [/X] [/4] [drive:][path][filename] Specifies drive, directory, and/or files …

Continue reading »

Mar 31 2008

Delete one File in Current Directory

Del is a command used to delete files from the computer. DEL or ERASE is a command used to delete files from the computer. Windows 2000 and Windows XP syntax Deletes one or more files. DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names names Specifies a list of one …

Continue reading »

Mar 31 2008

Delete all Fles in a Folder Matching a Pattern

Del is a command used to delete files from the computer. DEL or ERASE is a command used to delete files from the computer.   Windows 2000 and Windows XP syntax   Deletes one or more files.   DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   names …

Continue reading »

Mar 31 2008

Delete all “Read Only” in a Specific Folder

Del is a command used to delete files from the computer. DEL or ERASE is a command used to delete files from the computer.   Windows 2000 and Windows XP syntax   Deletes one or more files.   DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   names …

Continue reading »

Mar 31 2008

Delete all Temporary Files

Del is a command used to delete files from the computer. DEL or ERASE is a command used to delete files from the computer.   Windows 2000 and Windows XP syntax   Deletes one or more files.   DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names   names …

Continue reading »