I just would like post a quick question;
Is there an easy / quick way to define a job to check if a Network drive exists, and if NOT create the link.
Like the following code can do:
IF NOT EXIST W:\NUL goto NOT_EXIST
MD W:\MY_TEMP
IF NOT EXIST W:\MY_TEMP\NUL GOTO NOT_READY
RD W:\MY_TEMP
ECHO DRIVE W: IS READY .
GOTO END
:NOT_EXIST
ECHO %date% %time% - DRIVE W: DOES NOT EXIST! >> wlog.txt
psexec -s net use w: \\c-700s532\COGNOS-Dev$\COGNOS /user:IFMUK\c-700u09 C0gn05PD+ran5
ECHO %date% %time% - DRIVE W: CONNECTED AGAIN! >> wlog.txt
GOTO END
:NOT_READY
ECHO %date% %time% - DRIVE W: IS NOT READY >> wlog.txt
psexec -s net use w: /d
psexec -s net use w: \\c-700s532\COGNOS-Dev$\COGNOS /user:IFMUK\c-700u09 C0gn05PD+ran5
ECHO %date% %time% - DRIVE W: CONNECTED AGAIN! >> wlog.txt
GOTO END
:END
I could see some coding in Powershell. But I thought this should be easier to establish within Visualcron.
Regards