www.icetips.com  Icetips Utilities Documentation 4/14/2016    

Shell Class Overview

Previous  Top  Next  


The Shell class has various methods that interact with the operating system shell, such as to run programs, copy files, create folders etc.

 

ITShellClass             Class(ITStringClass),TYPE,Module('ITShellClass.clw'),Link('ITShellClass',_ITUtilLinkMode_),DLL(_ITUtilDllMode_)

ShowSetting                Long       !! 2009-05-07:  Used to determine Show in ITRun

EnvVars                    &tEnvQueue

 

 

APIErrorHandler            Procedure(String pCaption),VIRTUAL

AboutShell                 Procedure(String pApp, Long pW=IT_NULL, <String pOther>, Long pIcon=IT_NULL)

AssociateProgram           Procedure(String pProgramExe, String pFileExt, String pFileTypeName),BYTE !! Returns True if association was successfull.

CopyFiles                  Procedure(String pSource, String pDestination, Byte pCopyFilesOnly=True, Byte pCopySubDirs=False, Byte pConfirmCreateDest=False, Byte pSimpleProgress=False),Long,Proc

CreateDirectory            Procedure(String pDirectory),Long,PROC

GenEnvVariables            PROCEDURE (),LONG,PROC

GetAssociatedProg          Procedure(String pFileName),String

GetAssociatedVerb          Procedure(String pExtension, <String pVerb>),String

GetEnvVar                  Procedure(String pEnvVar), String

SetEnvVar                  Procedure(String pEnvVar,String pValue),LONG

ExpandEnvString            Procedure(String pSt),String

GetExeFromExtension        Procedure(String pExtension),String

GetSpecialFolder           Procedure(Long pFolderID),String

ITRun                      Procedure(String pCommandLine, Long pWait=0, <String pParameters>,<String pStartupFolder>,Byte pElevate=0),IT_HANDLE,PROC

ITRunWait                  Procedure(String pCommandLine, Long pWait=0, <String pParameters>,<String pStartupFolder>,Byte pElevate=0, Byte pShowWaitWindow=1),IT_HANDLE,PROC

ITRunFile                  Procedure(String pCommandLine, Long pWait=0, <String pVerb>, <String pParameters>),IT_HANDLE,PROC

ITShellExec                Procedure(String pFile, <String pOp>, <String pParam>, <String pDir>, Long pShow=IT_SW_SHOWNORMAL),Long,PROC

OpenURL                    Procedure(String pURL),VIRTUAL             !! AB 2006-03-06

ShellExec                  Procedure(Long pW, String pOp, String pFile, <String pParam>, <String pDir>, Long pShow=IT_SW_SHOWNORMAL),Long,PROC

ShellExecEx                Procedure(*IT_SHELLEXECUTEINFO pShellExecInfo),IT_BOOL

ShowFilePropertyWindow     Procedure(String pFileName,<String pTab>)

PathIsDir                  Procedure(String pPath),Byte

Construct                  Procedure

Destruct                   Procedure

                         End

 



Direct link to this page: http://www.icetips.com/manuals/utilities/shell_overview.htm