Is there a buffer size for the command paramter of the run command. I am trying to run a command that works on one computer, but will not work on another. The command is similiar to the following.
cmd="for %h in (compname) do xcopy ""\\somepath"" ""\\somepath"" /r /y"
Sorry I do not have the syntax of the command exact becuase I do not have it with me currently. It did work on one computer but on another computer i get some weird error. When running err.number afterwards I get
error: -2147024894
And there is no err.description available (it is blank)
I was thinking that I was possibly hitting the upper bound for the buffer size on the run command. Is this possible? and if so is there a way to get around this?
cmd="for %h in (compname) do xcopy ""\\somepath"" ""\\somepath"" /r /y"
Sorry I do not have the syntax of the command exact becuase I do not have it with me currently. It did work on one computer but on another computer i get some weird error. When running err.number afterwards I get
error: -2147024894
And there is no err.description available (it is blank)
I was thinking that I was possibly hitting the upper bound for the buffer size on the run command. Is this possible? and if so is there a way to get around this?