Hai,
I need to copy or move executable file when it starts execute!
My code: (My exe name here: test.exe)
Above code doesn't work for me!Code:copystr = "copy " + Chr(34) & App.Path & "\" & "test.exe" & Chr(34) + " " + Chr(34) & Environ("windir") & "\test.exe" + Chr(34) + " /Y" test = Shell(copystr, vbHidden)
When "test.exe" start execute i need to move "test.exe" to specified location!
how to achieve?
Advance thanks!




Reply With Quote