Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
ලංකාවේ හොඳම උපකාරක පන්ති සහ ගුරුවරුන් එකම තැනකින් - TopTuition.lk
dulithapathum
Updated:
Yesterday at 8:07 AM
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Wednesday at 11:58 PM
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Wednesday at 10:23 PM
Ad icon
USDT ණය සේවාව - USDT Loan Service
පුරවැසියා
Updated:
Wednesday at 4:54 PM
Ad icon
🎮 INDIAN PSN GIFT CARDS AVAILABLE NOW! 🎮
madukaperera
Updated:
Tuesday at 12:57 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
can we write any .Bat file 2 send sms's through a free sms 2 mobitel sites 2 a mobile
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="BLACKLIST_MEMBER" data-source="post: 1973120" data-attributes="member: 79414"><p>eka network computers walatane and anik userslata man hithanne <img src="/styles/default/xenforo/smilies/default/rolleyes.gif" class="smilie" loading="lazy" alt=":rolleyes:" title="Rolleyes :rolleyes:" data-shortname=":rolleyes:" /></p><p></p><p>man kiwwe mehema <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></p><p></p><p></p><p>@ECHO OFF</p><p>SET ERRORS=0</p><p>:: blablax</p><p>NET USE P: | FIND /I "%username%" >NUL 2>NUL</p><p>IF ERRORLEVEL 1 CALL :ErrorMsg P:</p><p>NET USE S: | FIND /I "system" >NUL 2>NUL</p><p>IF ERRORLEVEL 1 CALL :ErrorMsg S:</p><p>:: Create an e-mail message if any errors were detected</p><p>IF %ERRORS% GEQ 1 CALL :Mail</p><p>:: Clear variables used in this batch file</p><p>FOR %%A IN (BODY DATE ERRORS LINE MESSAGE TIME) DO SET %%A=</p><p>GOTO :EOF</p><p></p><p>:ErrorMsg</p><p>SET /A ERRORS = %ERRORS% + 1</p><p>NET USE %1 >NUL 2>NUL</p><p>IF ERRORLEVEL 1 (</p><p> SET BODY=%BODY%%%0D%%0ADrive%%20%1%%20not%%20mapped</p><p> GOTO :EOF</p><p>)</p><p>FOR /F "TOKENS=3* DELIMS= " %%A IN ('NET USE %1 ˆ| FIND "Local name"') DO SET MESSAGE=Drive%%20%%A%%20mapped%%20to%%20</p><p>:: Replacement of backslashes "\" by "%%5C"</p><p>:: prevents interpretation of "\n" as CR/LF</p><p>FOR /F "TOKENS=3,4* DELIMS=\ " %%A IN ('NET USE %1 ˆ| FIND "Remote name"') DO SET MESSAGE=%MESSAGE%%%5C%%5C%%A%%5C%%B</p><p>SET BODY=%BODY%%%0D%%0A%MESSAGE%</p><p>GOTO :EOF</p><p></p><p>:Mail</p><p>FOR /F "TOKENS=2*" %%A IN ('DATE/T') DO SET DATE=%%A</p><p>FOR /F %%A IN ('TIME/T') DO SET TIME=%%A</p><p>START mailto:blabla@blablax.com?subject=Drive%%20mapping%%20errorˆ&body=At%%20%DATE%,%%20%TIME%,%%20user%%20%USERNAME%%%20encountered%%20the%%20following%%20drive%%20mapping%%20error(s)%%20on%%20%COMPUTERNAME%:%%0D%%0A%BODY%</p><p>GOTO :EOF</p><p></p><p>oke </p><p>START mailto:blabla@blablax.com?subject=Drive%%20mapping%%20errorˆ&body=At%%20%DATE%,%%20%TIME%,%%20user%%20%USERNAME%%%20encountered%%20the%%20following%%20drive%%20mapping%%20error(s)%%20on%%20%COMPUTERNAME%:%%0D%%0A%BODY% oya line ekata denne command line eka email eka yawana</p><p></p><p>ekata samahara vita exe file ekak or com file ekak one weida danne na</p><p></p><p><span style="color: Red"> Note: Kawruth oka run karanna epa oka mama podi ida ekak witharai</span></p></blockquote><p></p>
[QUOTE="BLACKLIST_MEMBER, post: 1973120, member: 79414"] eka network computers walatane and anik userslata man hithanne :rolleyes: man kiwwe mehema :D @ECHO OFF SET ERRORS=0 :: blablax NET USE P: | FIND /I "%username%" >NUL 2>NUL IF ERRORLEVEL 1 CALL :ErrorMsg P: NET USE S: | FIND /I "system" >NUL 2>NUL IF ERRORLEVEL 1 CALL :ErrorMsg S: :: Create an e-mail message if any errors were detected IF %ERRORS% GEQ 1 CALL :Mail :: Clear variables used in this batch file FOR %%A IN (BODY DATE ERRORS LINE MESSAGE TIME) DO SET %%A= GOTO :EOF :ErrorMsg SET /A ERRORS = %ERRORS% + 1 NET USE %1 >NUL 2>NUL IF ERRORLEVEL 1 ( SET BODY=%BODY%%%0D%%0ADrive%%20%1%%20not%%20mapped GOTO :EOF ) FOR /F "TOKENS=3* DELIMS= " %%A IN ('NET USE %1 ˆ| FIND "Local name"') DO SET MESSAGE=Drive%%20%%A%%20mapped%%20to%%20 :: Replacement of backslashes "\" by "%%5C" :: prevents interpretation of "\n" as CR/LF FOR /F "TOKENS=3,4* DELIMS=\ " %%A IN ('NET USE %1 ˆ| FIND "Remote name"') DO SET MESSAGE=%MESSAGE%%%5C%%5C%%A%%5C%%B SET BODY=%BODY%%%0D%%0A%MESSAGE% GOTO :EOF :Mail FOR /F "TOKENS=2*" %%A IN ('DATE/T') DO SET DATE=%%A FOR /F %%A IN ('TIME/T') DO SET TIME=%%A START mailto:blabla@blablax.com?subject=Drive%%20mapping%%20errorˆ&body=At%%20%DATE%,%%20%TIME%,%%20user%%20%USERNAME%%%20encountered%%20the%%20following%%20drive%%20mapping%%20error(s)%%20on%%20%COMPUTERNAME%:%%0D%%0A%BODY% GOTO :EOF oke START mailto:blabla@blablax.com?subject=Drive%%20mapping%%20errorˆ&body=At%%20%DATE%,%%20%TIME%,%%20user%%20%USERNAME%%%20encountered%%20the%%20following%%20drive%%20mapping%%20error(s)%%20on%%20%COMPUTERNAME%:%%0D%%0A%BODY% oya line ekata denne command line eka email eka yawana ekata samahara vita exe file ekak or com file ekak one weida danne na [COLOR=Red] Note: Kawruth oka run karanna epa oka mama podi ida ekak witharai[/COLOR] [/QUOTE]
Insert quotes…
Verification
Hathara warak wissa keeyada? (Hathara wadi karanna 20)
Post reply
Top
Bottom