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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > The IT Pro > Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Programming A discussion forum for programs and programming used in tech-related businesses.

Reply
 
LinkBack Thread Tools
Old 01-05-2007, 01:07 PM   #1 (permalink)
Registered User
 
Join Date: Jan 2007
Location: Oklahoma City, OK
Posts: 6
OS: Windows XP Pro


Send a message via Yahoo to jonathan.ownbey
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.
jonathan.ownbey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 01-13-2007, 05:13 PM   #2 (permalink)
Registered User
 
Join Date: Jan 2007
Location: Cali
Posts: 5
OS: XP / Ubuntu


jonathan,

Are you talking about Batch Programing with MS Dos or CMD?
Driftware is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-13-2007, 06:05 PM   #3 (permalink)
Registered User
 
Join Date: Jan 2007
Location: Oklahoma City, OK
Posts: 6
OS: Windows XP Pro


Send a message via Yahoo to jonathan.ownbey
I'm talking about CMD.
__________________
When you're short on everything but the enemy, you're in combat.
jonathan.ownbey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2007, 02:28 AM   #4 (permalink)
Registered User
 
Join Date: Jan 2007
Location: Cali
Posts: 5
OS: XP / Ubuntu


Ok what do you want to talk about?
Driftware is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2007, 09:12 AM   #5 (permalink)
Registered User
 
Join Date: Jan 2007
Location: Oklahoma City, OK
Posts: 6
OS: Windows XP Pro


Send a message via Yahoo to jonathan.ownbey
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.
jonathan.ownbey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2007, 09:53 AM   #6 (permalink)
Registered User
 
Join Date: Nov 2006
Location: Sydney, Australia
Posts: 207
OS: WinXP-Home


Send a message via MSN to MattBro
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.
MattBro is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2007, 01:16 PM   #7 (permalink)
Registered User
 
Join Date: Jan 2007
Location: Oklahoma City, OK
Posts: 6
OS: Windows XP Pro


Send a message via Yahoo to jonathan.ownbey
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.
jonathan.ownbey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-14-2007, 10:58 PM   #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>
Driftware is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-15-2007, 10:01 AM   #9 (permalink)
Registered User
 
Join Date: Jan 2007
Location: Oklahoma City, OK
Posts: 6
OS: Windows XP Pro


Send a message via Yahoo to jonathan.ownbey
That's awesome! Thanks a million.
__________________
When you're short on everything but the enemy, you're in combat.
jonathan.ownbey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-15-2007, 12:17 PM   #10 (permalink)
Registered User
 
Join Date: Jan 2007
Location: Cali
Posts: 5
OS: XP / Ubuntu


No prb glad I can help.
Driftware is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 06:06 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85