| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Feb 15, 2005 4:12 am Post subject: folder question |
|
|
hello all
i don't know if this can be done but..i know how to have it check a folder and if its there go and do somethings for explame
c:\test
but when i added a folder under the test folder my not equal statment now thinks it wrong so my question is how can i have vds let that go so if i have a folder called
c:\test\whatever
as long as its under the test folder its good how can i have vds check this?
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Tue Feb 15, 2005 4:30 am Post subject: |
|
|
Hi Tim6389,
Try capiltalizing the "c:" drive as follows:
if @file(C:\test\whatever,D)
info yes
end
Cheers,
- Boo |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Feb 15, 2005 4:34 am Post subject: |
|
|
yes but that whatever folder could be any folder name tho...user will make his own folder so that name could be anything...
ya follow what i mean? _________________ Have a nice day  |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Tue Feb 15, 2005 4:47 am Post subject: |
|
|
Oh; gotcha...
How about this?
| Code: | DIALOG CREATE,New Dialog,-1,0,240,160
DIALOG SHOW
%D = @dirdlg()
if @not(@equal(@pos(c:\test\,%D),0))
info Folder is under c:\test
else
info Folder is not under c:\test
end |
Cheers,
- Boo |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Feb 15, 2005 7:07 pm Post subject: |
|
|
thank you i got it working
thanks again _________________ Have a nice day  |
|
| Back to top |
|
 |
|