Kilhian
(Fresh Scripter)
2004-08-18 05:42 PM
how to set the new current dir to load a program ??

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


maciep
(Korg Regular)
2004-08-18 06:30 PM
Re: how to set the new current dir to load a program ??

go "h:"
cd "team"


LonkeroAdministrator
(KiX Master Guru)
2004-08-18 08:46 PM
Re: how to set the new current dir to load a program ??

reading manual would be great idea.

Kilhian
(Fresh Scripter)
2004-08-19 09:28 AM
Re: how to set the new current dir to load a program ??

Thank you

Sometimes i feel so stupid ...

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