Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Aug 10, 1998



Application Security Testing: An Integral Part of DevOps

Creating Directories

Is there any way to create a directory from within a PowerBuilder application without using the RUN command? Or is there a way to get the RUN command to complete execution and drop the DOS window completely so that other dependant code can execute properly? I am using:
Run("command.com /C mkdir C:\BILLPRT",Minimized!)
However, unless processing stops (messagebox or user input), the DOS window remains and the directory cannot be used, since it appears that the RUN command has it locked.

You can use the PFC File Service:

If you are not a user of the PFC, then by examining the PFC code you can see the API call being used.
DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date