Page 1 of 1

Target directory validation

Posted: Wed Mar 26, 2008 8:23 am
by namo
Hi,
Please help me for the validation of the target directory for local folder path( check for directory( c:,d:,e:..) is valid or not, check for non acceptable special charracters, check whether folder exists or not ) and unc path as well.

Pleae guide me, its very urgent :!:

Posted: Wed Mar 26, 2008 11:34 am
by Alex_Ronquillo
namo,

Use the "Does File/Folder exist" command for this.

Posted: Wed Mar 26, 2008 11:45 pm
by namo
Hi,
thanx for reply :)

I used "folder exists" for target directory validation.

For local path if folder is non existing then i am parsing that targetdir , i take first 3 character to check whether drive is there on my local machine....
then if it there , i check for folder naming convensions means some special characters not allowed........
if everything ok then i asked user to create a folder, if he say yes, will go for next screen

And UNC path works for the existing folder if specified as a target dir.
"But it does not works for the non existing folder if specified"


And Now my problem is UNC path is not working and
Can we have some simple solution or some script or add-ins for this.


Please guide me for some more flexible and rigid solution

Posted: Wed Apr 02, 2008 11:54 pm
by namo
Halo........

is there anybody who help me for this???????????????????????