I am running a bat file in my vb6 code as shown below
The bat file content is
It works properly in windows xp professional, but does not work in windows 7 and 8.
But double if run the bat file manually as administrator then it does work.
So what is error in my vb6 code?
Code:
Shell(Chr(34) & GetOpenFileList & Chr(34), vbMaximizedFocus)
Code:
openfiles /query /FO CSV >> D:\OpenFileList.txt
But double if run the bat file manually as administrator then it does work.
So what is error in my vb6 code?