0

I want to run a perl script, abc.pl if a file test.sql is present in the location

C:\directory1. 

A DOS/Batch Script for the same should be of great helpful. Please assist.

Endoro
  • 37,015
  • 8
  • 50
  • 63

1 Answers1

1
if exist "c:\directory1\test.sql" perl [options] [file(s)]
Endoro
  • 37,015
  • 8
  • 50
  • 63