Posted by andy on May 21, 2020 at 08:45:29:
goal is to stop using mapped drive to open c32. currently we have a .bat file that maps to a q drive.
Q:
CD\C32
COMET.EXE /PN=%USERNAME% /KEYFILE=AUTOLOG.TXT
Would like to use UNC path. But cmd doesnt support UNC, so here's my powershell script:
Set-Location \\comet\comet\c32\
Start-Process "comet.exe" -ArgumentList "/pn=%username% /keyfile=autolog.txt"
In theory this should work... it opens the Comet pop-up, but before I am able to hit details it force quits the application almost instantly. I did notice if I open comet.exe directly (by double clicking the app) and then run the script it works. Any idea why it opens and closes, almost immediately?
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.