cancel
Showing results for 
Search instead for 
Did you mean: 

sapscripting with sapgui , program gnupx.exe location

Former Member
0 Kudos

Hello !!

We have automatised a file's upload from a PC Windows to an application server using the SAPGUI sapscripting . When our vbs is launched , sapscripting needs to launch the program gnupx.exe which

is located into the sapgui directory , but it searches it under C:\windows\system32 , and not into

the sapgui directory. If we copy manually the gnupx.exe program from sapgui to the windows directory ,

that's ok. But it is not a pretty solution. Does it exist a mean ( maybe a variable) to force the search into

the sapgui directory. (FYI : We are using the sapgui 7.10 , but I think it is a not due to this version).

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

you are properbly launching your vbs file from a command prompt - which would result in a working directory of System32 if i am not terrible mistaken.

Try launching it from the sapgui folder or include the sapgui path in the System path (first position!).

regards,

Andi