How do i get this onto a file log to confirm whether Vb6.dlls are actually registered? For the Regasm.exe error,error i get is as follows i.e Unhandled Exception: : ons.SecurityPermission at .Run() at .Main(String aArgs) The type of the first permission that failed was:. I'm not able to paste the output as i can't see what's happening. \\%1\c$\WINDOWS\Microsoft.NET\Framework\v7\regasm.exe "\\%1\c$ \test1\entities\function.dll" /codebase >"file.log" where -> %1 having a parameter as serverA for %%x in (\\%1\c$\test1\entities\*.dll) do \\%1\c$\WINDOWS\system32\regsvr32.exe /s %%x >"file.log" Echo VB6 Dlls Unregistered. I have entered an extra command to shout once VB6.dlls are registered. So in this case the batch files are not run locally. Note that there are a few differences when working with symbols on the command and then in bat files, but for what you need it is not an issue. The batch file seems to work locally but i wanted to write a batch file which can be run from anywhere. Create a text file and name it File.bat and then copy an paste your commands into the file.
0 Comments
Leave a Reply. |