Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Dos (batch File) Programing
Closed Thread
Old 05-24-2008, 09:50 AM   #31 (permalink)
MrCoffee's Avatar
 
Monster Techie

Join Date: Feb 2006

Location: UK

Posts: 1,852

MrCoffee is on a distinguished road

Default Re: Dos (batch File) Programing

Umm I don't think so, but you can add additional command line programs in things like for example the xp support tools pack, but that might be a little beyond your current scope.

Download details: Windows XP SP2 Support Tools for Advanced Users
__________________
Intel core I7 920
GA-EX58-UD3R
6GB OCZ platinum 1600
XFX HD4890
Noctua nh-u12p
Corsair HX520
Antec 300
Samsung 1TB F1 Spinpoint
Samsung SM2443BW 24"
MrCoffee is offline  
Old 05-24-2008, 10:00 AM   #32 (permalink)
mattew's Avatar
 
Banned

Join Date: May 2008

Posts: 147

mattew is on a distinguished road

Send a message via MSN to mattew
Default Re: Dos (batch File) Programing

well u said it right ... it went beyond my head neways... as far as i understood those were the updated tools for the .exe files wat connection do they have with the dos..
mattew is offline  
Old 05-24-2008, 10:13 AM   #33 (permalink)
MrCoffee's Avatar
 
Monster Techie

Join Date: Feb 2006

Location: UK

Posts: 1,852

MrCoffee is on a distinguished road

Default Re: Dos (batch File) Programing

well these days the only reason you're using "dos" is for the xp command line utilities, things like the tcp/ip tool suite for example and there are a whole bunch of cool programs and utils out there like nmap and putty for networking etc..

I rarely use batchfiles these days except for drive mappings and stuff like that.
__________________
Intel core I7 920
GA-EX58-UD3R
6GB OCZ platinum 1600
XFX HD4890
Noctua nh-u12p
Corsair HX520
Antec 300
Samsung 1TB F1 Spinpoint
Samsung SM2443BW 24"
MrCoffee is offline  
Old 05-24-2008, 10:49 AM   #34 (permalink)
mattew's Avatar
 
Banned

Join Date: May 2008

Posts: 147

mattew is on a distinguished road

Send a message via MSN to mattew
Default Re: Dos (batch File) Programing

well i am planning to write some batch programs which customize windows xp to core level so i must know its ins n outs abt it , otherwise i would mes it up ....
as far as i know its one of the means to get to the abyss of the operating system.....
mattew is offline  
Old 05-24-2008, 12:14 PM   #35 (permalink)
MrCoffee's Avatar
 
Monster Techie

Join Date: Feb 2006

Location: UK

Posts: 1,852

MrCoffee is on a distinguished road

Default Re: Dos (batch File) Programing

incorrect assumption I'm afraid, you can do some things from the command line that you can't do from the GUI but generally speaking the GUI is much more powerful.

Windows is not a command line based OS, the command line is an add-on.

I don't really know of any instances of batch files being used to "customize" windows these days. That sort of thing would be done with real programming or group policy.

let me tell you this about batch files, and don't be too discouraged, but batch files are retarded - creating batch files cannot be called programming, and it barely qualifies as scripting. There is very little power in batch files and generally speaking they have few uses - only system admins use them really and not for anything interesting.

Yes the command line can be powerful and can be useful (for some things) but batch files are a largely irrelevant capability.

If I were you I'd familiarise myself with the management console and the various snap-in's (type mmc from run)
__________________
Intel core I7 920
GA-EX58-UD3R
6GB OCZ platinum 1600
XFX HD4890
Noctua nh-u12p
Corsair HX520
Antec 300
Samsung 1TB F1 Spinpoint
Samsung SM2443BW 24"

Last edited by MrCoffee; 05-24-2008 at 12:22 PM.
MrCoffee is offline  
Old 05-24-2008, 01:48 PM   #36 (permalink)
mattew's Avatar
 
Banned

Join Date: May 2008

Posts: 147

mattew is on a distinguished road

Send a message via MSN to mattew
Default Re: Dos (batch File) Programing

i recently read a book about the malicious code writers these people aren't categorized as virus maker or spammers or Trojan makers or whatever u call..
they just write codes (basically batch files) which totally ruined ur system..
and those batch files cannot be detected by ne means (i dont know how they designed it to make it virtually undetectable) and technically speaking when i found those codes they were too good (i dont have ne malicious intents) just had a curiosity to learn abt them (advanced stuff of batch filing)
in short i am totally baffled n dont know where to start from....

i runed that command "mmc" a window named console 1 had opened wat does that mmc stand for n wat is that all about....

Last edited by mattew; 05-24-2008 at 01:50 PM.
mattew is offline  
Old 05-24-2008, 02:40 PM   #37 (permalink)
MrCoffee's Avatar
 
Monster Techie

Join Date: Feb 2006

Location: UK

Posts: 1,852

MrCoffee is on a distinguished road

Default Re: Dos (batch File) Programing

look mattew, I can't take the time to teach you all about windows, I suggest that if you're really interested you look at a MS certification, or at least the training material.

Google is your friend

MMC - Microsoft Management Console
__________________
Intel core I7 920
GA-EX58-UD3R
6GB OCZ platinum 1600
XFX HD4890
Noctua nh-u12p
Corsair HX520
Antec 300
Samsung 1TB F1 Spinpoint
Samsung SM2443BW 24"
MrCoffee is offline  
Old 05-24-2008, 03:31 PM   #38 (permalink)
mattew's Avatar
 
Banned

Join Date: May 2008

Posts: 147

mattew is on a distinguished road

Send a message via MSN to mattew
Default Re: Dos (batch File) Programing

well thnx buddy i will look forward for those certifications then......
u did a gr8 help for me....
mattew is offline  
Old 05-28-2008, 02:41 PM   #39 (permalink)
MrCoffee's Avatar
 
Monster Techie

Join Date: Feb 2006

Location: UK

Posts: 1,852

MrCoffee is on a distinguished road

Default Re: Dos (batch File) Programing

Oh one last thing, some tips!

The most concise reference you're going to find on the command line is probably Microsoft's own help file: enter this at run:

hh ntcmds.chm

And one of the most useful bits of information when you're starting out with batchfiles is knowing how to view the errorlevel returned by a command, at the prompt type:

echo %errorlevel%

to view the errorlevel of the last run command.


Feel free to ask any batch file specific questions if you get stuck.
__________________
Intel core I7 920
GA-EX58-UD3R
6GB OCZ platinum 1600
XFX HD4890
Noctua nh-u12p
Corsair HX520
Antec 300
Samsung 1TB F1 Spinpoint
Samsung SM2443BW 24"
MrCoffee is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Corrupted/Infected Files. xXxexpertxXx Virus - Spyware Protection / Detection 11 03-12-2008 01:18 AM
Help with a Dos batch file Jakes55 Programming Discussions 2 03-02-2008 09:04 PM
WTF is a Bad Block? MikesCreation Hardware Troubleshooting 18 02-24-2008 09:31 PM
seagate 80gigs failing.. acuariano Hardware Troubleshooting 27 08-27-2007 10:43 PM
Another Hijack Log boo HijackThis Logs (finished) 17 06-26-2007 12:30 PM