Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Tahir Iqbal
  Where is Tahir Iqbal?
 Lahore
 Pakistan
 Tahir Iqbal
 Tags
Subject: New Directoy
Thread ID: 365805 Message ID: 365805 # Views: 49 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Errors & Debugging
Date: Monday, December 31, 2012 3:05:45 PM         
   


I have following codes to create a new directory

ahour=padl(alltrim(str(hour(datetime()))),2,'0')
amin=padl(alltrim(str(minute(datetime()))),2,'0')
dirabc=alltrim("Lahore\")+alltrim(dtos(date()))+"_"+ahour+":"+amin

if  not directory(dirabc)
	md 	dirabc
endif



variable dirabc has following value
Lahore\20121231_19:01

But MD command creates directory named dirabc instead of variable value


I want to create directory named "Lahore\20121231_19:01"

ENTIRE THREAD

New Directoy Posted by Tahir Iqbal @ 12/31/2012 3:05:45 PM
RE: New Directoy Posted by Tore Bleken @ 12/31/2012 3:25:45 PM