Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BATCH SCRIPTING

Status
Not open for further replies.

warcypher

Technical User
Jan 30, 2003
3
CZ
Not sure if this is the right forum.

I need to have a batch script which calls up a 32-bit application. The part that I am interested in is that a directory must be created prior to the launch of the application. There has to be some kind of conditional logic to ascertain if the directory exists or not and this must only be done in windows 98 workstations. This batch script is being called from within Oracle Forms and hence will run by users using Windows 2000 and Windows 98

Here's what I have so far:

@echo off
c:
C:\AVN_Win\AVN.EXE
 
My 2 cents.
If when the directory exists there would be a specific file
in it you could test for the existance of a file.

IF EXIST C:\FOLDERNAME\TEST.TXT GOTO SKIP
MD FOLDERNAME
:SKIP
c:
C:\AVN_Win\AVN.EXE

Enjoy Bob

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top