PSEXEC will not open .lnk files

1k views Asked by At

I am having an issue with PSEXEC to open .lnk files. It opens up but then closes. Can anyone help?

for /f "delims=" %%i in (C:\_\2_Launch_Program\computers.txt) do (
start "%%i" C:\_\PStools\psexec \\%%i -u [Username] -p [password] -i 
cmd.exe /c START c:\Filename.lnk
)
0

There are 0 answers