Page 1 of 1 1
Topic Options
#81490 - 2003-01-31 12:08 AM Additional parameter for the RUN Command
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
In the KiXtart RUN Command, there is no option to specify a Working Directory.

This is hindering completion of a script that I am putting together.

Wound up going to AutoIT for completion of the script.

Currently, the RUN Command in KiXtart only supports the Location and executable..

For example, RUN "C:\Windows\Notepad"

Is it possible to add in an optional working directory parameter for RUN?

For example, RUN "C:\Windows\Notepad","C:\Windows"

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#81491 - 2003-01-31 01:40 AM Re: Additional parameter for the RUN Command
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
can you not do:

go c:
cd %windir%

in the script...
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#81492 - 2003-01-31 01:48 AM Re: Additional parameter for the RUN Command
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
did mis kent's post but didn't mis yours, les...

run hidden is also one of the options asked for.

I surely don't remember all the suggestions for run, but run hidden I have no work-around... exept my own UDF ofcourse.

btw, sorry for stealing your thread.

mm... once we are on the subject...
dunno about console kix (kix32.exe) users, but the few of us who love real console-less kix (wkix32.exe), it might be nice to have a console to spawn...
in other words, let the scripts control flow while the console is threaded as control somewhere...
maybe not the same way WSH controls it, but if it's the best to get... that will do.
_________________________
!

download KiXnet

Top
#81493 - 2003-01-31 02:28 PM Re: Additional parameter for the RUN Command
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Rad,

You are right that does work..

However, I believe this is still a valid request as there are many applications that would need such a feature..

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#81494 - 2003-01-31 05:11 PM Re: Additional parameter for the RUN Command
Anonymous
Unregistered


Similar topic here:

http://luna.scriptlogic.com/Support/Forums/display_message.asp?mid=1833

-Brian

Top
#81495 - 2003-02-04 05:47 AM Re: Additional parameter for the RUN Command
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I wont to copy ruuds to here from brians link:
quote:

In short: good suggestion. Providing a function to run applications has been on the to-do-list for some time, and I will look into it for a next update.

Kind regards,

Ruud

even though it's little old...
currently the shell-execute is there available via com... as an example:
http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=12;t=000322
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 840 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.053 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org