never dreamed of a DblQuote Function, like it, it would have saved me years of typing Chr(34)'s ;-)
I Hear, I Forget
I See, I Remember
I Do, I Understand
Ronald McDonald
...i think the pattern is to just avoid the nesting, also avoid the Wscript.Quits in each Function, then i dont offend delicate sensibilities
I Hear, I Forget
I See, I Remember
I Do, I Understand
Ronald McDonald
Hi All :-)
I have just finished writing my first serious vbscript in about....god, 5 years.
I am stuck between:
[Option1]
intGReturn = 1
Call Task A
If Result from Task A is Good
Call Task B
If Result from Task B is Good
Call Task C
...and so on, we all all good...
Thanks Frederico, I also found this MS article which describes an implementation:
Connecting to SQL from Linux is possible using Kerberos, according to this Microsoft documentation, https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/using-integrated-authentication?view=sql-server-2017...
Hi All, I think I am surpised to find that you cannot create an ODBC connection from a Linus system specifying AD account details in the connection string? that only a local SQL account being specified will work, that to use an AD account you need to choose one of the integrated options in the...
for the shortcut the 'startin' can just be blank, then you want:
c:\windows\system32\cscript.exe c:\pathtoscript\script.vbs "source_path_here" "target_path_here"
...you could also just create a .bat file or .cmd file and double click that.
...or you could hard code the variables in the .vbs...
i see the solution which is nice, still not sure why you need to rename the files.[afro]
You could just enum files in the folder and open the file with the name Right(strFileName, "_ApproproateName"),,,and ignore the date so to speak
I Hear, I Forget
I See, I Remember
I Do, I Understand
Ronald...
could be file based config or registry perhaps? regmon, filemon, procmon etc.
would recommend asking the vendor, IBM on how to accomplish this
I Hear, I Forget
I See, I Remember
I Do, I Understand
Ronald McDonald
oh, i would recommend just scheduling tasks on your other servers (each server having a scheduledtask), rather then your 'star' pattern. seems less complicated and would seem more supportable and transparent to me....less complicated as well
I Hear, I Forget
I See, I Remember
I Do, I...
you should use Chr(34) to wrap your params in your strCommandLine string which contain white space.,..i.e.
strCommandLine = ".... -subj " & Chr(34) & strOrgName & " did not run" & Chr(34) & " -msg " & Chr(34) & " hello world" & Chr(34)
..
but, i doubt that is your problem if when you run it...
there are probably additional parameters you can supply to the saveas method which allow to automatically choose the options which you are being prompted for
I Hear, I Forget
I See, I Remember
I Do, I Understand
Ronald McDonald
I have ended doing this....which is clearly retarded!!!
Public Class Container
Public Property ID As String
Public Property Children As Dictionary(Of String, String)
Public Property Index As Dictionary(Of String, String)
Public Property Technical As Dictionary(Of String, String)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.