Page 1 of 1 1
Topic Options
#125268 - 2004-08-18 05:42 PM how to set the new current dir to load a program ??
Kilhian Offline
Fresh Scripter

Registered: 2004-08-17
Posts: 15
Hi everybody

I wish to launch a program located on a remote server
how to set the remote directory as the new current directory ?

If @priv = "ADMIN"
Shell "explorer.exe"
Else
Use h: "\\s32_002\H" /user:*** /Password:***

Quote:


need to set the cur dir to run the program below
The new current directory should be h:\team

In a batch i would do this:

h:
cd team

"h:\team\*** h:\team\data\***"






Shell "h:\team\*** h:\team\data\***"
Use H: /Del
EndIf

Top
#125269 - 2004-08-18 06:30 PM Re: how to set the new current dir to load a program ??
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
go "h:"
cd "team"
_________________________
Eric

Top
#125270 - 2004-08-18 08:46 PM Re: how to set the new current dir to load a program ??
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
reading manual would be great idea.
_________________________
!

download KiXnet

Top
#125271 - 2004-08-19 09:28 AM Re: how to set the new current dir to load a program ??
Kilhian Offline
Fresh Scripter

Registered: 2004-08-17
Posts: 15
Thank you

Sometimes i feel so stupid ...

humm ... not only sometimes ..
I'AM

Top
Page 1 of 1 1


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

Who's Online
0 registered and 557 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.043 seconds in which 0.011 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