Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
net use g: \\SERVER\SHARE net use j: \\SERVER\SHARE @For /F "tokens=2,3,4 delims=/ " %%A in ('Date /t') do @( Set DAY=%%A Set MONTH=%%B Set Year=%%C ) @echo DAY = %Day% @echo Month = %Month% @echo Year = %Year% IF %day% == monday GOTO Advert1 IF %day% == tuesday GOTO Advert2 IF %day% == wednesday GOTO Advert3 IF %day% == thursday GOTO Advert4 IF %day% == friday GOTO Advert5 :Advert1 echo Advert1 start j:\advert1.exe goto EOF :Advert2 echo Advert2 start j:\advert2.exe goto EOF :Advert3 echo Advert3 start j:\advert2.exe goto EOF :Advert4 echo Advert4 start j:\advert4.exe goto EOF :Advert5 echo Advert5 start j:\advert5.exe goto EOF :EOF endlocal wait
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.