Little brother wants to make a portable U-disk QQ login program. The main program is done, but I don't know how to automatically copy it to the QQ directory of someone else's computer to run. Please, senior moderator, give me some advice!
(Do I need to set the QQ variable?)
Thank you all for your help, but how to realize copying the program into the QQ directory? (I mean, can starting a BAT program once realize copying the file into the QQ directory and running it)

Is this the command line?
Use tireless brother's
It shows that the syntax of file name, directory or volume label is incorrect
[ Last edited by HAT on 2008-12-5 at 22:52 ]
(Do I need to set the QQ variable?)
Thank you all for your help, but how to realize copying the program into the QQ directory? (I mean, can starting a BAT program once realize copying the file into the QQ directory and running it)

Is this the command line?
copy e:\1.txt %QQPath%Use tireless brother's
echo off
reg export HKEY_LOCAL_MACHINE\SOFTWARE\Tencent\QQ tmp.orz
more tmp.orz>tmp2.orz
for /f "skip=3 delims== tokens=2" %%o in (tmp2.orz) do set qqpath=%%o
copy e:\1.txt %qqpath:\\=\%
del tmp*.orz
pauseIt shows that the syntax of file name, directory or volume label is incorrect
[ Last edited by HAT on 2008-12-5 at 22:52 ]

