Urgent Help !!

anandknr

Member
Hi all,

Please help me in below query.

I need to create a new folder named "Test".
I need to check if a file exits in specified path.

How the above could be possible through progress code ?
 
Have a look at the OS-CREATE-DIR statement and the SEARCH function. The latter will either return the full qualified path or NULL in case the file can't be found in the PROPATH.

Heavy Regards, RealHeavyDude.
 
just to add, note that:
1. SEARCH() , if used on Linux/Unix, is case sensitive (it has no option for IgnoreCase unfortunately)
2. if you need to check if folder exists (and not file) use FILE-INFO handle
 
Back
Top