I am trying to close idle net sessions on a Windows 7 machine. I have found a script that is suppose to delete the idle sessions after 59 mins, but it doesn't seen to be working and I have no idea how to read this script. Can someone enlighten me on what is going on with this script. I have tried to comment out the portion that sets the Idle time to 00:00:00, but I would also like to set that idle time to 00:58:00 so I wouldn't have to wait an hour to test the delete session script. Thanks for the help. Here is the code that I have:

@echo ON

for /F "Tokens=1-8*" %%a in ('net session^|Find "\\"') do (
call :sess %%a %%b %%c %%d %%e %%f %%g %%h %%i
@echo !comp! !idle!
goto :EOF

set comp=%1
set idle=00:00:00
if {%1}=={} goto sessT
set idle=%1
goto sessL


for /f "Tokens=1 Delims=:" %%x in ('@echo %idle%') do (
if "%%x" GEQ "00" net session %comp% /DELETE /Y

What would it take to get some more coding shows back on the air? Management decided to take it off, but does management know that programming is still an art in America, and of course in the rest of North America & the rest of the world! Know How is a good topic, love the science of +Fr. Robert Ballecer, SJ in growing crops. I certainly have a lot to learn in agriculture. I grew probably 500 lbs of vegetables this summer, and good Lord willing will try again this year. I wanted to use some of the neighbor's horse manure for the garden, but our snowfall in Michigan today is putting a damper on it, will have to resort to 12-12-12 again.

But the main point is coding is needed, I know students are eager to learn it. I would love to be able to teach it myself, as I once did, have teaching credentials.

Anyone, just saying...

So, I am new to coding, and I am currently talking an html class, and a Visual Basics class. I am looking for a place to post some of my code for class. I spent all day going back and forth with my instructor, and finally she helped me figure out what the issue was. I am wounder if there is a recommended blog or even here where I can bounce code back and forth. 

Post has shared content
Your first Android App maybe?
This is a complete tutorial, discussing how to build a simple calculator app for Android. Learn how it works and then maybe try and implement some of the recommended improvements. #AndroidDevelopment #News

Post has attachment
Need help I cant figure out this simple java code!

Post has shared content
When people finish the coding without compiling and testing.
Animated Photo

Some good recent reads... maybe even suitable for the beach:

The Code Book by Simon Singh
The Information by James Gleick

Post has attachment

Post has attachment
For you Apple aficionados, this should be exciting 🙌 My question is which city & location is the museum. 

Post has attachment
Wait while more posts are being loaded