PreviousNext
Help > Programming with LAUNCHER Office > LNCCMD commands > Commands list > REMOVEDIR command
REMOVEDIR command

Deletes an empty directory on a Windows PC/Server.

 

Syntax

 

CHGVAR

VAR(&CMD) VALUE('REMOVEDIR')

CHGVAR

VAR(&PARM1) VALUE('

Dir="Directory to delete"

')

CHGVAR

VAR(&PARM2) VALUE(' ')

CALL

PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 &PARM2 &RESULT)

 

Parameters

 

Parameters

 

Parm1
or
Parm2

 

Dir : Complete path and name of the directory to delete.

 

RESULT

Contains eventually error message.

 

 

 

 

Note

 

The directory to delete has to be empty and sufficient rights are necessary for the user profile.

Example

 

LNCCMD CMD(REMOVEDIR) PARM1('Dir="C:\temp\DEL"')