Push file to Win7 ( C:\users\%username%)

(imported topic written by akies91)

Hi All,

I need to copy exe file to Win 7 ( C:\users%username%) and use

software distribution wizard.

I don’t have any idea how to put the correct path for my client’s pc

since the %username% is different each client.

Please help me…

/////////////////////////////////////////////////////////////////////////////////////

download http://192.168.1.67:52311/Uploads/0c3e24f5b39abddd8ae43d358ed6187d82db5fb3/TeamViewer_Setupexe.tmp

continue if {(size of it = 2811639 AND sha1 of it = “0c3e24f5b39abddd8ae43d358ed6187d82db5fb3”) of file “TeamViewer_Setupexe.tmp” of folder “__Download”}

extract TeamViewer_Setupexe.tmp

copy __Download\TeamViewer_Setup.exe “C:\Users%username%\TeamViewer_Setup.exe” <++==== here!

(imported comment written by JackCoates91)

Hi akies,

do you want it to install for every user on multiple user systems, or just for the currently logged in user? If the latter, you can use runascurrentuser.exe to do the copy. http://support.bigfix.com/cgi-bin/kbdirect.pl?id=392