Avaya Writing Technician Interface Scripts Bedienungsanleitung Seite 48

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 122
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 47
Writing Technician Interface Scripts
2-14 114089 Rev. A
To test whether a file is present, use the if command with the following syntax:
if -file
<filename>
=1
For example, the following script tests whether the install.bat file is present:
if -file install.bat=1 then;\
echo “File present”
To test whether a directory is present, use the if command with the following
syntax:
if -dir
<directory_name>
=1
For example, the following script tests whether volume 2 is present:
if -dir 2:=1 then;\
echo “Volume 2 present”
Seitenansicht 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 121 122

Kommentare zu diesen Handbüchern

Keine Kommentare