Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Suggestions (https://www.kinook.com/Forum/forumdisplay.php?f=4)
-   -   Remote execution using psexec (https://www.kinook.com/Forum/showthread.php?t=4341)

dalevine 12-17-2009 08:04 AM

Remote execution using psexec
 
Add an option to set the working directory. Currently the default directory (\windows\system32) is the working directory when the remote program is executed.

On the psexec command line, this uses the -w option.

kinook 12-17-2009 10:07 AM

VBP does pass the Start In folder to psexec -w for remote execution.

dalevine 12-17-2009 10:31 AM

That option exists when remotely executing a batch file or an external program, but it does not appear to exist in the VisBuildPro Project command.

Is there any way of accomplishing this from that command?

kinook 12-17-2009 10:47 AM

You could pass the path in as a parameter and use that in a Set Current Dir at the start of the project being called.
http://www.kinook.com/VisBuildPro/Ma...ameterstab.htm
http://www.kinook.com/VisBuildPro/Ma...rdiraction.htm

We'll also consider adding an explicit option for that in the VisBuildPro Project action.

Thanks.

dalevine 12-17-2009 10:52 AM

I am doing what you suggested about setting the current directory, but it took me quite a while to figure out that was the only way I could do it.

An option for setting the current working directory would be very helpful.

Thanks

kinook 03-11-2010 09:18 AM

This is implemented in v7.5.
http://www.kinook.com/Forum/showthre...?threadid=4415
http://www.kinook.com/VisBuildPro/Ma...projecttab.htm

dalevine 03-11-2010 11:37 AM

That's great, thanks


All times are GMT -5. The time now is 12:14 PM.


Copyright © 1999-2023 Kinook Software, Inc.