on 02-21-2008 10:35 AM
Hi friends,
I'm trying to copy my saplogon.ini file from my server onto the clients when they install the GUI. All runs fine expect coyping the saplogon.ini.
I use following script:
strSrcFile=NwEngine.Variables.ResolveString("
192.1.1.94\gui\saplogon.ini")
or strSrcFile=NwEngine.Variables.ResolveString("
"%SapSrcDir%\gui\saplogon.ini")
strDstFile = NwEngine.Variables.ResolveString("%WinDir%'SapLogon.ini")
NwEngine.Shell.CopyFileEx szSrcFile, szDstFile, vbTrue
Log:
10:29:10 NwSapsAtlC 1 Executing Scripting Event...
10:29:10 NwSapFeiKr 1E '' missing from the source
My Share is "gui", I use the latest SAPGUI Installation server.
Any help would be highly appreciated.
Hi,
I used the following code, worked for me
NwEngine.Context.Log.Write "Event: Copy SapLogon.ini"
strSrcFile = NwEngine.Variables.ResolveString("%SapSrcDir%\CustomerFiles\SapLogon.ini")
strDstFile = NwEngine.Variables.ResolveString("%WinDir%\SapLogon.ini")
If NwEngine.Shell.FileExist( strSrcFile ) Then
NwEngine.Shell.CopyFile strSrcFile, strDstFile
End If
cheers..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.