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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

foxrin.pif in win2k

Status
Not open for further replies.

Dgoldswo

Programmer
Jan 9, 2001
9
US
I am runnig an application that is creating directories based on the current date and using the filer !mkdir command, this calls foxrun.pif. In WIN2K this leaves a "Inactive Foxpro Command" window open after the command runs and this leaves the application hanging. I tried creating the directory useing fcreate() but am not having any luck. Is there some other method of creating directories on the fly or a method to close this window so the application won't hang?
 
Have you tried the mkdir() function in FOXTOOLS.FLL?

STORE whatever TO DirName
x = mkdir('C:\' + DirName)

Dave S.

 
I'm sorry, I should have included the load library:


SET LIBRARY TO FOXTOOLS.FLL

STORE whatever TO DirName
x = mkdir('C:\' + DirName)

Dave S.

 
If you right-click on this file in Explorer, select Properties. Then on the Program Tab, make sure the "Close on exit" box is checked.

Rick
 
Thank you Dsumzzz ahd rgbean both methods worked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top