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


md (dirabc)


NB! A colon (:) is not allowed in the directory name.

> 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