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 


[resolved] Simple RUN question...

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Raymond175
Contributor
Contributor


Joined: 24 Apr 2002
Posts: 72

PostPosted: Thu Oct 28, 2004 10:56 am    Post subject: [resolved] Simple RUN question... Reply with quote

Hello all,

I want to run a (non-vds) program (from within my vds program) with a lot of parameters, but one of these parameters is "where filename='bla'" (including the "). How can I create a RUN command with such a parameter?

RUN @SHORTNAME(%%Textcopy) /S swdc /U sa2 /P sa2 /D intranet /T projectdescriptions /C data /W "where filename='%%Filename'" /F @SHORTNAME(%%Filename) /I /K %%Chunksize, WAIT %%Timeout

Does not work. Windows cannot find the file /S

Thanks,
Raymond
Back to top
View user's profile Send private message
DelWolf
Newbie


Joined: 16 Oct 2004
Posts: 4

PostPosted: Thu Oct 28, 2004 11:08 am    Post subject: Reply with quote

How about using the @chr(34)?
Would that work for you?

Sorry i am not much help, I am quite new myself.

Code:

RUN @chr(34)@SHORTNAME(%%Textcopy) /S swdc /U sa2 /P sa2 /D intranet /T projectdescriptions /C data /W "where filename='%%Filename'" /F @SHORTNAME(%%Filename) /I /K %%Chunksize, WAIT %%Timeout@chr(34)
Back to top
View user's profile Send private message
Raymond175
Contributor
Contributor


Joined: 24 Apr 2002
Posts: 72

PostPosted: Thu Oct 28, 2004 11:45 am    Post subject: Reply with quote

I found it out myself... I already worked, but the @SHORTNAME(%%Textcopy) did not exist...

And your solution may be basic, but it also worked! That's something I didn't think of! Great thinking!

Problem solved!
Thanks
Back to top
View user's profile Send private message
DelWolf
Newbie


Joined: 16 Oct 2004
Posts: 4

PostPosted: Thu Oct 28, 2004 6:35 pm    Post subject: Reply with quote

Your very welcome. It great to find something i came up with working, since I am only just learning vds.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    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