forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


folder question

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Feb 15, 2005 4:12 am    Post subject: folder question Reply with quote

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 Smile
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Tue Feb 15, 2005 4:30 am    Post subject: Reply with quote

Hi Tim6389,

Try capiltalizing the "c:" drive as follows:

if @file(C:\test\whatever,D)
info yes
end

Cheers,

- Boo
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Feb 15, 2005 4:34 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Tue Feb 15, 2005 4:47 am    Post subject: Reply with quote

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
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Feb 15, 2005 7:07 pm    Post subject: Reply with quote

thank you i got it working


thanks again

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group