Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.
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
|Batch File to find and replace a string||15||111|
|Batch to Restart Remote Computers||4||86|
|how to skip files that were already there?||3||46|
|Batch File won't run on Windows Server 2012 R2 Task Scheduler||8||28|