Although you can use full paths, the recommended way is to use the %scriptdir variable in the command line, like sh %scriptdir/ myScript. sh. This way & quantaplus; will try to locate your script in the following places: global script folder: $KDEDIR / share/ apps/ quanta/ scripts local script folder: $KDEHOME / share/ apps/ quanta/ scripts your path: $PATH There are other special variables that you can use in the command line:
Tot i que podeu usar rutes completes, es recomana usar la variable% scriptdir en la línia d' ordres, tal com sh% scriptdir/ meuScript. sh. D' aquesta manera, el & quantaplus; intentarà localitzar l' script en els següents llocs: Carpeta global d' scripts: $KDEDIR / share/ apps/ quanta/ scripts Carpeta local d' scripts: $KDEHOME / share/ apps/ quanta/ scripts La vostra ruta: $PATH Hi ha d' altres variables especials que podeu usar en la línia d' ordres: