![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
|
Command line scripting
Hey all, I'm not sure of the appropriate place to post questions about command line scripting. If someone could direct me, I would very much appreciate it.
Thanks a million. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#5 (permalink) |
|
Registered User
|
I'm new to batch scripting and have a little experience in programming in general. I wrote a very simple script that would create/append a file and record time, date, and ip configuration when run. I want to have it run every time my laptop logs into a network be it wired or wireless. I don't know what to do from here. I don't know if there is an event listener perhaps? I appreciate you taking the time to help.
Jon O.
__________________
When you're short on everything but the enemy, you're in combat. |
|
|
|
|
|
#6 (permalink) |
|
Registered User
|
I doubt such a thing would be possible. The system notifies applications through DDE, COM and Messages.
A batch script can neither process (because it doesn't receive) messages, nor can it access DDE or COM features in such a way. So unfortunately, such a thing isn't possible via a stand-alone batch script. |
|
|
|
|
|
#7 (permalink) |
|
Registered User
|
Well in that case I suppose I could just write an application in Java that would run the script... I will look into that as an alternative. Thanks for the input and any more that you might share.
__________________
When you're short on everything but the enemy, you're in combat. |
|
|
|
|
|
#8 (permalink) |
|
Registered User
Join Date: Jan 2007
Location: Cali
Posts: 5
OS: XP / Ubuntu
|
Hey i looked for a while and i think i foun some very usefull information and it seems like it would do the trick. check out the link... Hope it helps
<url>http://www.windowsnetworking.com/kbase/WindowsTips/WindowsNT/AdminTips/Logon/WindowsNTLoginScriptTricksandTips.html</url> |
|
|
|
![]() |
| Thread Tools | |
|
|